Re: Command-line interface thoughts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Nahas <mike.nahas@xxxxxxxxx> writes:

> I think NEXT and WTREE should be like tree objects, not commits, so I
> would argue that "git show NEXT" should show what it shows for a tree.

So what is the definition of such a "tree" during a conflicted merge?

The traditional definition is "such a state cannot be expressed as a
tree". You are free to define it the same way, or for NEXT to be more
useful than status quo, come up with a better definition.

> My thought is that NEXT should only represent those changing files
> that have been resolved. So, NEXT would be HEAD plus the files in
> Stage0. So, "git diff HEAD NEXT" would print out the changes in
> Stage0.

That would mean conflicted files will all be shown as removed, or
unchanged?  Either would be more confusing.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]