Code

convert: Safer handling of $Id$ contraction.
authorHenrik Grubbström <grubba@grubba.org>
Tue, 6 Apr 2010 12:46:37 +0000 (14:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 Apr 2010 04:45:00 +0000 (21:45 -0700)
commita9f3049f6c152d4e6c26b15f7eeb08660aaadca3
tree483205ed0d4068abeb176ff04591ac263b52f44b
parentb9aa901856cee7ad16737343f6a372bb37871258
convert: Safer handling of $Id$ contraction.

The code to contract $Id:xxxxx$ strings could eat an arbitrary amount
of source text if the terminating $ was lost. It now refuses to
contract $Id:xxxxx$ strings spanning multiple lines.

Signed-off-by: Henrik Grubbström <grubba@grubba.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
convert.c
t/t0021-conversion.sh