From: Luke Diamand Date: Sat, 17 Dec 2016 01:00:40 +0000 (+0000) Subject: git-p4: avoid crash adding symlinked directory X-Git-Tag: v2.11.1~40^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/df8a9e86db13f2b8becfde8ed69f80127ba14e20?hp=df8a9e86db13f2b8becfde8ed69f80127ba14e20 git-p4: avoid crash adding symlinked directory When submitting to P4, if git-p4 came across a symlinked directory, then during the generation of the submit diff, it would try to open it as a normal file and fail. Spot symlinks (of any type) and output a description of the symlink instead. Add a test case. Signed-off-by: Luke Diamand Signed-off-by: Junio C Hamano ---