git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* FYI: git-am allows creation of empty commits.
@ 2006-02-23 15:33 Eric W. Biederman
  2006-02-24  5:56 ` Junio C Hamano
  0 siblings, 1 reply; 8+ messages in thread
From: Eric W. Biederman @ 2006-02-23 15:33 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano


Currently I am using: git version 1.2.2.g709a.

I have been rebasing and refactoring a number of patchsets using git.

Frequently because of prior edits I will git a patch that does not
apply at all.  So all I get is the creation of the .dotest directory.
The automatic merge logic does not kick in, so I have to manually
call patch -p1 and resolve the differences but hand.  There everything
is expected and fine.  Although it might have been nice to have one
of those failed merge indicators in the index.

After fixing it up and doing all of my edits I occasionally forget
the git-update-index step, before calling git-am --resolved.  This
proceeds along it's merry way and creates an empty commit.

Is this the expected correct behavior or should git-am complain about
a situation like that?

Eric

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

end of thread, other threads:[~2006-02-25  6:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-23 15:33 FYI: git-am allows creation of empty commits Eric W. Biederman
2006-02-24  5:56 ` Junio C Hamano
2006-02-24 11:24   ` Eric W. Biederman
2006-02-24 12:04     ` Junio C Hamano
2006-02-24 12:20       ` [PATCH] commit-tree: disallow an empty single-parent commit Junio C Hamano
2006-02-24 12:58         ` Eric W. Biederman
2006-02-24 13:19       ` FYI: git-am allows creation of empty commits Eric Wong
2006-02-25  6:04         ` 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).