git-p4: Fix support for symlinks.
commit74276ec6f2d2123714066cee24b26a629930e7a8
authorSimon Hausmann <simon@lst.de>
Tue, 7 Aug 2007 10:28:00 +0000 (7 12:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Aug 2007 08:58:05 +0000 (8 01:58 -0700)
tree318e0cf879a45d43e5e5e7addc36c6ff7a05a7f1
parent3671757546ce78bb04611aa5481c2aa77a1ffc90
git-p4: Fix support for symlinks.

Detect symlinks as file type, set the git file mode accordingly and strip off the trailing newline in the p4 print output.
Make the mode handling a bit more readable at the same time.

Signed-off-by: Simon Hausmann <simon@lst.de>
Acked-by: Brian Swetland <swetland@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4