summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 14a4091)
raw | patch | inline | side by side (parent: 14a4091)
author | Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> | |
Tue, 3 Jul 2007 08:59:06 +0000 (10:59 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 4 Jul 2007 02:04:49 +0000 (19:04 -0700) |
If I do
git cat-file commit $commitid
for a commit created by stash, the next prompt starts directly after the
shortlog of HEAD.
Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git cat-file commit $commitid
for a commit created by stash, the next prompt starts directly after the
shortlog of HEAD.
Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh | patch | blob | history |
diff --git a/git-stash.sh b/git-stash.sh
index 16979ab41f1f4b4a9276ac9f318e3885f5c6d2a5..9deda443eddd6c12f8c8926610a6de8634bd6dec 100755 (executable)
--- a/git-stash.sh
+++ b/git-stash.sh
die "Cannot save the current worktree state"
# create the stash
- w_commit=$(printf 'WIP on %s' "$msg" |
+ w_commit=$(printf 'WIP on %s\n' "$msg" |
git commit-tree $w_tree -p $b_commit -p $i_commit) ||
die "Cannot record working tree state"