Skip to content

Commit 0814d6e

Browse files
committed
Merge branch 'jk/pull-rebase-with-work-tree' into maint
* jk/pull-rebase-with-work-tree: pull,rebase: handle GIT_WORK_TREE better Conflicts: git-pull.sh
2 parents eee947f + 035b5bf commit 0814d6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

git-pull.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ OPTIONS_SPEC=
1111
. git-sh-setup
1212
. git-sh-i18n
1313
set_reflog_action "pull${1+ $*}"
14-
require_work_tree
14+
require_work_tree_exists
1515
cd_to_toplevel
1616

1717

git-rebase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ skip! skip current patch and continue
6363
"
6464
. git-sh-setup
6565
set_reflog_action rebase
66-
require_work_tree
66+
require_work_tree_exists
6767
cd_to_toplevel
6868

6969
LF='

0 commit comments

Comments
 (0)