threads / discuss / 38742

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

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

## tl;dr

One message between Mar 7, 2015 and Mar 7, 2015.

replies: 0people: 1as markdown or json

Philip Oakley· Mar 7, 2015, 11:25 UTC · lore
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

← back to recent threads