gc.sh: include the HEAD symref and url in clone.bundle
commitddef051ae7cd3d513753e688e94b3bf9bf13d3d7
authorKyle J. McKay <mackyle@gmail.com>
Sat, 14 Jan 2017 06:12:48 +0000 (13 22:12 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 14 Jan 2017 06:12:48 +0000 (13 22:12 -0800)
tree228a7e28ba8833d8a190cc3550c55a9ef6544dd3
parentfe64f57140c54bcdffba6515021f5701c81e987a
gc.sh: include the HEAD symref and url in clone.bundle

The information is included in the same way that the git:
protocol includes extra information -- as space-separated
keyword=value items behind a leading '\0' stuck on the end
of the HEAD ref.

Git will happily read the entire line up through the '\n'
and then ignore everything after the first '\0' when
dealing with the ref name itself.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
jobd/gc.sh