Merge branch 'jk/pull-rebase-with-work-tree' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 1 Nov 2011 23:11:00 +0000 (16:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Nov 2011 23:11:00 +0000 (16:11 -0700)
* jk/pull-rebase-with-work-tree:
pull,rebase: handle GIT_WORK_TREE better

Conflicts:
git-pull.sh

git-pull.sh
git-rebase.sh
index 63da37bcc2730358140ae4b862040ed8fb0ed77e..902fc4adb4b95d27c6ba6c63f40108702dd93f11 100755 (executable)
@@ -11,7 +11,7 @@ OPTIONS_SPEC=
 . git-sh-setup
 . git-sh-i18n
 set_reflog_action "pull${1+ $*}"
-require_work_tree
+require_work_tree_exists
 cd_to_toplevel
 
 
index 6759702c573f51ac00bf1b5c8abccf252cb4ff1d..00ca7b99fef35e21d24af844e6dbaa92cab5834f 100755 (executable)
@@ -63,7 +63,7 @@ skip!              skip current patch and continue
 "
 . git-sh-setup
 set_reflog_action rebase
-require_work_tree
+require_work_tree_exists
 cd_to_toplevel
 
 LF='