git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2] git-p4: handle symlinked directories
@ 2016-12-17  1:00 Luke Diamand
  2016-12-17  1:00 ` [PATCHv2] git-p4: avoid crash adding symlinked directory Luke Diamand
  0 siblings, 1 reply; 2+ messages in thread
From: Luke Diamand @ 2016-12-17  1:00 UTC (permalink / raw)
  To: git
  Cc: Junio C Hamano, Duy Nguyen, viniciusalexandre, aoakley,
	Lars Schneider, Luke Diamand

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-17  1:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-17  1:00 [PATCHv2] git-p4: handle symlinked directories Luke Diamand
2016-12-17  1:00 ` [PATCHv2] git-p4: avoid crash adding symlinked directory Luke Diamand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).