]> khamidou — GitHub mirrors - arcanist.git/commit
Apply rtrim() to arc:upstream
authorepriestley <git@epriestley.com>
Mon, 11 Feb 2013 23:58:47 +0000 (15:58 -0800)
committerepriestley <git@epriestley.com>
Mon, 11 Feb 2013 23:58:47 +0000 (15:58 -0800)
commit446e5c4599ba01c28dc90bdee873bc01c9cc618e
tree56af27dc0610e7f12341dbce3105205a2aabaf70
parentacf7600e6e72839542e42f92227edc12dce38f9b
Apply rtrim() to arc:upstream

Summary: Git spits these out with \n at the end.

Test Plan:
```
>>> orbital ~/devtools/arcanist $ git branch --set-upstream trim master
Branch trim set up to track local branch master.
>>> orbital ~/devtools/arcanist $ arc which --base arc:upstream
RELATIVE COMMIT
If you run 'arc diff', changes between the commit:

    acf7600e6e728395  Temporarily restore apache/license linters

...and the current working copy state will be sent to Differential, because
it is the merge-base of the upstream of the current branch and HEAD, and
matched the rule 'arc:upstream' in your args 'base' configuration.

You can see the exact changes that will be sent by running this command:

    $ git diff acf7600e6e728395..HEAD

These commits will be included in the diff:

    3580555e4b30598f  WIP

MATCHING REVISIONS
These Differential revisions match the changes in this working copy:

    (No revisions match.)

Since there are no revisions in Differential which match this working copy, a
new revision will be created if you run 'arc diff'.
```

Reviewers: brennantaylor

Reviewed By: brennantaylor

CC: aran
Differential Revision: https://secure.phabricator.com/D4913
src/repository/api/ArcanistGitAPI.php