summaryrefslogtreecommitdiff
path: root/entry.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-08-14 08:40:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-08-15 06:19:06 (GMT)
commita44131181a13eb599ed35647709692b1699706eb (patch)
treec02fdeb8109077e462e5c3a430f0f792677b3852 /entry.c
parent6b06d518caa6ef98cc0efb796713d0a0693895bf (diff)
downloadgit-a44131181a13eb599ed35647709692b1699706eb.zip
git-a44131181a13eb599ed35647709692b1699706eb.tar.gz
git-a44131181a13eb599ed35647709692b1699706eb.tar.bz2
attr.c: refactoring
This splits out a common routine that parses a single line of attribute file and adds it to the attr_stack. It should not change any behaviour, other than attrs array in the attr_stack structure is now grown with alloc_nr() macro, instead of one by one, which relied on xrealloc() to give enough slack to be efficient enough. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'entry.c')
0 files changed, 0 insertions, 0 deletions