summaryrefslogtreecommitdiff
path: root/git-pull.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-06-05 12:00:24 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-05 12:00:24 -0700
commit4cb9fe35c015c576177d6a0ce096c935876544fc (patch)
tree56f9b5ba53e0f51158eb73af65032cd84eff83d3 /git-pull.sh
parentMerge branch 'pt/pull-ff-vs-merge-ff' into maint (diff)
parentpull: handle --log=<n> (diff)
downloadtgif-4cb9fe35c015c576177d6a0ce096c935876544fc.tar.xz
Merge branch 'pt/pull-log-n' into maint
"git pull --log" and "git pull --no-log" worked as expected, but "git pull --log=20" did not. * pt/pull-log-n: pull: handle --log=<n>
Diffstat (limited to 'git-pull.sh')
-rwxr-xr-xgit-pull.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-pull.sh b/git-pull.sh
index 09f6beabdc..47d89c1fc7 100755
--- a/git-pull.sh
+++ b/git-pull.sh
@@ -84,8 +84,8 @@ do
diffstat=--no-stat ;;
--stat|--summary)
diffstat=--stat ;;
- --log|--no-log)
- log_arg=$1 ;;
+ --log|--log=*|--no-log)
+ log_arg="$1" ;;
--no-c|--no-co|--no-com|--no-comm|--no-commi|--no-commit)
no_commit=--no-commit ;;
--c|--co|--com|--comm|--commi|--commit)