summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar James Bowes <jbowes@dangerouslyinc.com>2007-07-06 15:57:47 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-07-06 22:48:30 -0700
commit3cd2491aa2e5f07fa7fbeaa529b77de8c005a01c (patch)
treed3ad5030b419b8345a67b2f168c6131b10dca10f
parentgit-submodule(1): update description and key names (diff)
downloadtgif-3cd2491aa2e5f07fa7fbeaa529b77de8c005a01c.tar.xz
stash: allow running from a subdirectory
Signed-off-by: James Bowes <jbowes@dangerouslyinc.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xgit-stash.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-stash.sh b/git-stash.sh
index f01494dc1b..7b1638c68c 100755
--- a/git-stash.sh
+++ b/git-stash.sh
@@ -3,6 +3,7 @@
USAGE='[ | list | show | apply | clear]'
+SUBDIRECTORY_OK=Yes
. git-sh-setup
require_work_tree