Re: [PATCH] t4202 (log): add failing test for log with subtree

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

 



Ramkumar Ramachandra wrote:
> And if you're still not convinced, run 'git log HEAD^2 -- README.md'
> from the toplevel directory.  You'll get the log of README.md from the
> subproject.

On IRC, Thomas explained to me that mixing in changes from various
branches into the pathspec will break this so-called determinism.  To
try it out for yourself, do:

    $ cd /tmp
    $ git clone gh:trast/subtree-mainline-example
    $ cd subtree-mainline-example
    $ git log HEAD^2 -- sub # only lists the side changes
    $ git log -- dir/sub # only lists the mainline changes

What we should really expect is a mix of the two.
--
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]