X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-pull.sh;h=28441aca8ac1129dacad10d4bd040df64e34d134;hb=fb630e048c6efabe4d46b1b125fe7348062d38e6;hp=fb9e2df9312e96ecf8ad5ab2bde4b74b979fe02e;hpb=3970fc5512ac52e798579cf734957a2fac852cfd;p=git.git diff --git a/git-pull.sh b/git-pull.sh index fb9e2df93..28441aca8 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -9,7 +9,7 @@ LONG_USAGE='Fetch one or more remote refs and merge it/them into the current HEA SUBDIRECTORY_OK=Yes OPTIONS_SPEC= . git-sh-setup -set_reflog_action "pull $*" +set_reflog_action "pull${1+ $*}" require_work_tree cd_to_toplevel