summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-05-26 16:50:34 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-05-28 15:08:27 -0700
commit0adc6a3d49a46436780b2dd636918c9840d82236 (patch)
treed4e8e57d71509d77bd624348b5b16153c35c29f4 /builtin/commit.c
parentfsck: check ident lines in commit objects (diff)
downloadtgif-0adc6a3d49a46436780b2dd636918c9840d82236.tar.xz
fsck: fix bogus commit header check
daae1922 (fsck: check ident lines in commit objects, 2010-04-24) taught fsck to expect commit objects to have the form tree <object name> <parents> author <valid ident string> committer <valid ident string> log message The check is overly strict: for example, it errors out with the message “expected blank line” for perfectly valid commits with an "encoding ISO-8859-1" line. Later it might make sense to teach fsck about the rest of the header and warn about unrecognized header lines, but for simplicity, let’s accept arbitrary trailing lines for now. Reported-by: Tuncer Ayaz <tuncer.ayaz@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions