# [GSoC] small project idea from my todo list.. Bundle Symbolic links

1 messages from 2015-03-07 to 2015-03-07. Participants: Philip Oakley.
Thread: https://gitlist.dev/t/38742

## Philip Oakley, 2015-03-07 11:25

Subject: [GSoC] small project idea from my todo list.. Bundle Symbolic links
Message-ID: <0B989088FC644299B6707429908D1D1D@PhilipOakley>
URL: https://gitlist.dev/e/0B989088FC644299B6707429908D1D1D%40PhilipOakley

```
Hi folks,

This is one of my small/mini projects from late year that got pushed 
down my stack that may be suitable for someone on the GSoC small project 
list:

 - Embed symbolic link references into the Bundle processing.

Currently git bundle gets 'confused' when there are multiple refs using 
the same HEAD ref, with only a heuristic to guess which ref should be 
allocate to HEAD. The issue is to update the 'heuristic' process to get 
it right, while still being backward compatible.

A potential solution was identified in [1], and a similar problem (where 
does HEAD point to..) was recently covered in patch [2] (and discussions 
either side) .

I'd be quite happy for a GSoC candidate/student to have a go at it, 
especially as I've let it languish! ;-)
--
Philip

--
Essentially, hide the clues as to where the Symbolic refs point to 
(other symrefs) after a null char in the line format..

Perhaps also add a 'Rev #<n>' after the bundle's version line as well ?

[1] 
http://thread.gmane.org/gmane.comp.version-control.git/258827/focus=259087 
(addition of symref=refs/heads/master after a \0 null at the end of the 
refs line.)
[2] 
http://thread.gmane.org/gmane.comp.version-control.git/263922/focus=264936
[3] http://thread.gmane.org/gmane.comp.version-control.git/234053 has an 
older discussion regarding the same issue ('where does HEAD point to') 
on cloning. Linked from 
http://thread.gmane.org/gmane.comp.version-control.git/258365/focus=258463

```
