Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/pull-rebase-using-fork-point'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 17 Jan 2014 20:04:29 +0000
(12:04 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 17 Jan 2014 20:04:29 +0000
(12:04 -0800)
Finishing touches so that an expected error message will not leak to
the UI.
* jk/pull-rebase-using-fork-point:
pull: suppress error when no remoteref is found
git-pull.sh
patch
|
blob
|
history
raw
(from parent 1:
14598b9
)
diff --git
a/git-pull.sh
b/git-pull.sh
index f210d0a14707c57d66baa2d098d0d2efdaaaf72e..0a5aa2c82187c3caa4b2a0716369314fc8c80c55 100755
(executable)
--- a/
git-pull.sh
+++ b/
git-pull.sh
@@
-229,7
+229,7
@@
test true = "$rebase" && {
test -n "$curr_branch" &&
. git-parse-remote &&
remoteref="$(get_remote_merge_branch "$@" 2>/dev/null)" &&
- oldremoteref=$(git merge-base --fork-point "$remoteref" $curr_branch)
+ oldremoteref=$(git merge-base --fork-point "$remoteref" $curr_branch
2>/dev/null
)
}
orig_head=$(git rev-parse -q --verify HEAD)
git fetch $verbosity $progress $dry_run $recurse_submodules --update-head-ok "$@" || exit 1