[PATCHv2] git-p4: handle symlinked directories
- From
Luke Diamand <luke@diamand.org>
- Date
- Dec 17, 2016, 01:00 UTC
- Message-ID
- <20161217010040.1399-1-luke@diamand.org>
This is an updated version of my earlier git-p4 symlink fix.
This one now treats addition of all symlinks in the same way, rather than displaying the target file if linking to a file, or just the link target name if it's a directory.
That makes the git-p4 summary behave more like normal git commands (which also treat symlinks uniformaly).
This is a very slight change in behaviour, but I don't think it can break anything since it is only when generating the summary that goes after the P4 change template.
Luke Diamand (1): git-p4: avoid crash adding symlinked directory
git-p4.py | 26 ++++++++++++++++++++------ t/t9830-git-p4-symlink-dir.sh | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 6 deletions(-) create mode 100755 t/t9830-git-p4-symlink-dir.sh
-- 2.8.2.703.g78b384c.dirty