]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: fix bug in symlink handling
authorEvan Powers <evan.powers@gmail.com>
Tue, 16 Feb 2010 08:44:08 +0000 (00:44 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 20 Feb 2010 16:38:21 +0000 (08:38 -0800)
commitb39c3612eb443e77bd04d645578e1155988c6dde
tree784bad4b997af5898d30c0d8201deddbbd538f4e
parent4551d03541e5eec411bb367f7967ff933d176df4
git-p4: fix bug in symlink handling

Fix inadvertent breakage from b932705 (git-p4: stream from perforce to
speed up clones, 2009-07-30) in the code that strips the trailing '\n'
from p4 print on a symlink. (In practice, contents is of the form
['target\n', ''].)

Signed-off-by: Evan Powers <evan.powers@gmail.com>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4