summaryrefslogtreecommitdiffstats
path: root/git-stash
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-04-09 17:05:06 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-04-09 17:05:06 +0200
commit353457158d7d298a10b5de241daa2b5296d551d3 (patch)
tree8a559d7419c002c3594cd40898fd518e11649191 /git-stash
parent732b6b0f31c1698fa09650ede24dc20ca5e9f84f (diff)
downloadbin-353457158d7d298a10b5de241daa2b5296d551d3.zip
bin-353457158d7d298a10b5de241daa2b5296d551d3.tar.gz
git-stash: fix git add call
Diffstat (limited to 'git-stash')
-rwxr-xr-xgit-stash2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-stash b/git-stash
index 5fc028f..f70083e 100755
--- a/git-stash
+++ b/git-stash
@@ -18,7 +18,7 @@ else
# R/RI/RICU; start
git commit --allow-empty -m wip-index-state
# now RI/RI/RICU; pushed index onto repo
- git add -A && git commit --allow-empty -m wip-worktree-state
+ git add -A :/ && git commit --allow-empty -m wip-worktree-state
# now RICU/RICU/RICU; pushed C/U files onto repo
# ... switch branch, work work work, commit ...
# now you want to get back to the saved state