Subject: Re: [RFC/PATCH] Implement poor-man's submodule support using commit hooks

From: Jakub Narebski <[email-masked]>
Date: Wed, 20 Dec 2006 15:07:56 +0100

Andy Parkins wrote:

> On Wednesday 2006 December 20 13:29, Johannes Sixt wrote:

>>> +       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