Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH 5/6 (v2)] upload-pack: send the HEAD information

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:43

Jeff King [off-list ref] writes:
On Mon, Dec 01, 2008 at 06:12:54AM -0800, Junio C Hamano wrote:
quoted
+			packet_write(1, "%s %s%c%s%c%s\n", sha1_to_hex(sha1), refname,
+				     0, capabilities, 0, target);
Yuck. My two complaints are:

  (1) this implicitly handles only the HEAD symref.
But this information *is* on the "40-hex name" line that describes the
HEAD ;-)

You can trivially extend it to add this to other symbolic refs if you are
interested.  I wasn't.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help