Re: [RFC/PATCH] Implement poor-man's submodule support using commit hooks
> On Wednesday 2006 December 20 13:29, Johannes Sixt wrote:
Show 9 quoted lines
>>> + while read subdir hash
>>
>> Wouldn't it be better to have the order of subdir and hash swapped? That
>> way subdir may contain blanks, and it gives nicer alignment in the file
>> because of the constant length of the hashes.
>
> Unfortunately, it is the hash that is optional. When you create the file, you
> don't list the hashes, you list the subdirectories. I suppose I could make
> it so you have to give "000000" or something first?
That's the convention git uses in git-diff, reflog, etc.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git