]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: Fix occasional truncation of symlink contents.
authorAlexandru Juncu <alexj@rosedu.org>
Thu, 8 Aug 2013 13:17:38 +0000 (16:17 +0300)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Aug 2013 17:10:46 +0000 (10:10 -0700)
commit1292df11e8063442f911b2a4d0f7213f117d54d7
tree16154f32d5f20b1d7519878db69c943d41c8add0
parent96cb27a9d2db3c01b8e296a0fbc1da1da09d1412
git-p4: Fix occasional truncation of symlink contents.

Symlink contents in p4 print sometimes have a trailing
new line character, but sometimes it doesn't. git-p4
should only remove the last character if that character
is '\n'.

Signed-off-by: Alex Juncu <ajuncu@ixiacom.com>
Signed-off-by: Alex Badea <abadea@ixiacom.com>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py