git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] stash: end commit log with a newline
@ 2007-07-03  8:59 Uwe Kleine-König
  2007-07-03 11:29 ` Johannes Schindelin
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Uwe Kleine-König @ 2007-07-03  8:59 UTC (permalink / raw)
  To: Git Mailing List

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>
---
 git-stash.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-stash.sh b/git-stash.sh
index 16979ab..9deda44 100755
--- a/git-stash.sh
+++ b/git-stash.sh
@@ -67,7 +67,7 @@ save_stash () {
 		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"
 
-- 
1.5.2.2.1451.gb0e5e


-- 
Uwe Kleine-König

cal 9 1752 | grep 10

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-07-06  0:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200707042324.l64NOp8I019289@mi0.bluebottle.com>
2007-07-05  5:46 ` [PATCH] stash: end commit log with a newline Junio C Hamano
2007-07-05 11:58   ` Uwe Kleine-König
2007-07-05 16:47     ` Junio C Hamano
2007-07-05 23:54       ` しらいしななこ
2007-07-03  8:59 Uwe Kleine-König
2007-07-03 11:29 ` Johannes Schindelin
2007-07-03 14:01   ` Uwe Kleine-König
2007-07-03 14:32   ` Jeff King
2007-07-04  5:10 ` しらいしななこ
2007-07-04  5:10 ` Junio C Hamano
2007-07-04  7:44   ` Uwe Kleine-König
2007-07-04 23:18     ` しらいしななこ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).