Re: [PATCH 7/7] sha1_file: write ref_name to link object

2013-04-05 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: > Great. Now, we just have to write refs/modules//* at > commit-time. Actually, we have to update things in refs/modules/ everytime we update things in refs/heads/. In the case of a 'git branch -M' for example, refs/heads/ is rewritten to refs/heads/: similarly, refs/

[PATCH 7/7] sha1_file: write ref_name to link object

2013-04-04 Thread Ramkumar Ramachandra
Great. Now, we just have to write refs/modules//* at commit-time. Signed-off-by: Ramkumar Ramachandra --- sha1_file.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/sha1_file.c b/sha1_file.c index a8a6d72..2ea101a 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -2874,6 +2874,7 @@