git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Poor status output during conflicted merge
@ 2010-07-01 18:16 Eric Raible
  2010-07-02  0:00 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Raible @ 2010-07-01 18:16 UTC (permalink / raw)
  To: git

Let's create a merge conflict and then partially resolve it:

git init bad-status
cd bad-status/
echo 1 > file
git add file
git commit -a -m1
echo 2 > file
git commit -a -m2
git checkout -b topic HEAD^
echo 3 > file
git commit -a -m3
git merge master
git checkout --ours file
git add file

A 'git status' at this point gives the following output:

# On branch topic
nothing to commit (working directory clean)

Which is wrong, since the merge still needs to be committed.

- Eric

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

end of thread, other threads:[~2010-07-07 12:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-01 18:16 Poor status output during conflicted merge Eric Raible
2010-07-02  0:00 ` Junio C Hamano
2010-07-02  1:51   ` Eric Raible
2010-07-07  0:12   ` Eric Raible
2010-07-07  5:07     ` Elijah Newren
2010-07-07 12:43     ` demerphq

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