Re: [PATCH v4] fetch-pack: fix object_id of exact sha1

2016-03-05 Thread Junio C Hamano
Jeff King writes: > On Fri, Mar 04, 2016 at 10:11:38PM -0300, Gabriel Souza Franco wrote: > >> Commit 58f2ed0 (remote-curl: pass ref SHA-1 to fetch-pack as well, >> 2013-12-05) added support for specifying a SHA-1 as well as a ref name. >> Add support for specifying just a SHA-1 and set the ref n

Re: [PATCH v4] fetch-pack: fix object_id of exact sha1

2016-03-05 Thread Jeff King
On Fri, Mar 04, 2016 at 10:11:38PM -0300, Gabriel Souza Franco wrote: > Commit 58f2ed0 (remote-curl: pass ref SHA-1 to fetch-pack as well, > 2013-12-05) added support for specifying a SHA-1 as well as a ref name. > Add support for specifying just a SHA-1 and set the ref name to the same > value in

[PATCH v4] fetch-pack: fix object_id of exact sha1

2016-03-04 Thread Gabriel Souza Franco
Commit 58f2ed0 (remote-curl: pass ref SHA-1 to fetch-pack as well, 2013-12-05) added support for specifying a SHA-1 as well as a ref name. Add support for specifying just a SHA-1 and set the ref name to the same value in this case. Signed-off-by: Gabriel Souza Franco --- Documentation/git-fetch-