git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rebase-merge/done: No such file or directory
@ 2009-01-12 19:13 jidanni
  2009-01-12 22:47 ` Johannes Schindelin
  0 siblings, 1 reply; 5+ messages in thread
From: jidanni @ 2009-01-12 19:13 UTC (permalink / raw)
  To: johannes.schindelin; +Cc: git

Bug at git-rebase--interactive.sh:107: count=$(grep -c '^[^#]' < "$DONE")

$DONE might not exist. Do test -f $DONE before you grep it.

This will happen if the user gave a wrong squash choice.

$ git rebase --interactive ...
Waiting for Emacs...
grep: .git/rebase-merge/done: No such file or directory
Cannot 'squash' without a previous commit

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

end of thread, other threads:[~2009-01-13  8:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12 19:13 rebase-merge/done: No such file or directory jidanni
2009-01-12 22:47 ` Johannes Schindelin
2009-01-12 23:02   ` Adeodato Simó
2009-01-12 23:09     ` [PATCH] Avoid spurious error messages on error mistakes Pierre Habouzit
2009-01-13  8:20       ` Junio C Hamano

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).