summaryrefslogtreecommitdiffstats
path: root/git-stash.sh
diff options
context:
space:
mode:
authorJames Bowes <jbowes@dangerouslyinc.com>2007-07-06 21:57:47 +0200
committerJunio C Hamano <gitster@pobox.com>2007-07-07 07:48:30 +0200
commit3cd2491aa2e5f07fa7fbeaa529b77de8c005a01c (patch)
treed3ad5030b419b8345a67b2f168c6131b10dca10f /git-stash.sh
parentgit-submodule(1): update description and key names (diff)
downloadgit-3cd2491aa2e5f07fa7fbeaa529b77de8c005a01c.tar.xz
git-3cd2491aa2e5f07fa7fbeaa529b77de8c005a01c.zip
stash: allow running from a subdirectory
Signed-off-by: James Bowes <jbowes@dangerouslyinc.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-stash.sh')
-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