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