diff options
-rwxr-xr-x | git-pull.sh | 2 | ||||
-rwxr-xr-x | git-rebase.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/git-pull.sh b/git-pull.sh index eb87f49062..7500b58ff9 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -10,7 +10,7 @@ SUBDIRECTORY_OK=Yes OPTIONS_SPEC= . git-sh-setup set_reflog_action "pull $*" -require_work_tree +require_work_tree_exists cd_to_toplevel diff --git a/git-rebase.sh b/git-rebase.sh index cbb0ea90ed..60a405d1fb 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -31,7 +31,7 @@ SUBDIRECTORY_OK=Yes OPTIONS_SPEC= . git-sh-setup set_reflog_action rebase -require_work_tree +require_work_tree_exists cd_to_toplevel LF=' |