Update description of -z option.
[gitweb.git] / git-stash.sh
index de13dd1812170ca76eb5706aefb7f59d22be6d48..d9cd42d4b34d7ea938131deba305ae9ef636ec7b 100755 (executable)
@@ -6,6 +6,7 @@ USAGE='[ | list | show | apply | clear]'
 SUBDIRECTORY_OK=Yes
 . git-sh-setup
 require_work_tree
+cd_to_toplevel
 
 TMP="$GIT_DIR/.git-stash.$$"
 trap 'rm -f "$TMP-*"' 0