Re: [PATCHv3] git-fetch: Split fetch and merge logic

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

 



Junio C Hamano <junkio@xxxxxxx> writes:

> Santi Béjar <sbejar@xxxxxxxxx> writes:
> ...
>> The current merge behaviour is unchanged.
>
> I overlooked your earlier huge testcase patch, but I noticed it
> does not include any test that fetches an annotated tag that
> points at a commit or a non-commit, nor an unannotated tag that
> is a tree or a blob.

A couple of other things I think the users of information in
FETCH_HEAD rely on need to be checked by the test suite.

 * Automated following of tags when a branch head is fetched.
   When this happens, I think the users (not just git-pull
   script but end users) expect the branch head to be listed
   first in the FETCH_HEAD file, so that:

	$ git fetch git://some.repo/
	$ git show FETCH_HEAD

   gives stable and useful result.

 * When two refs are listed on the command line explicitly, are
   they listed in the order given by the user in the resulting
   FETCH_HEAD file?

	$ git fetch git://some.repo/ one two
	$ git fetch git://some.repo/ two one

   Again, "git show FETCH_HEAD" after that expects the first one
   to show 'one' and the second one 'two'.  Replacing 'fetch'
   with 'pull' in the example would affect the parent order in
   the resulting Octopus.


-
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]