git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCHv1 0/1] git-p4: handle symlinked directories

From
Luke Diamand <luke@diamand.org>
Date
Dec 14, 2016, 08:17 UTC
Message-ID
<20161214081724.16663-1-luke@diamand.org>

There's a long-standing bug around handling of symlinked directories in git-p4.

If in git you create a directory, and then symlink it, when git-p4 tries to create the diff-summary of what it's about to do, it tries to open the symlink as a regular file, and fails.

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.11.0.274.g0ea315c
Next: Luke Diamand
Message 1 of 2 in “[PATCHv1 0/1] git-p4: handle symlinked directories”
  1. Luke DiamandDec 14, 2016
  2. 1/1 git-p4: avoid crash adding symlinked directoryLuke Diamand, Dec 14, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.