X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-pull.sh;h=28441aca8ac1129dacad10d4bd040df64e34d134;hb=15b7898c5e9fc6fed9a6064213cfcd08cf7d7314;hp=fb9e2df9312e96ecf8ad5ab2bde4b74b979fe02e;hpb=2765233c64c35eb43a8b46c377fb8b464469221f;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