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

Re: [PATCH v3 4/5] difftool: Use symlinks when diffing against the worktree

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 23, 2012, 16:38 UTC
Message-ID
<7vzk6qmo02.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1343023530-31463-1-git-send-email-davvid@gmail.com>
David Aguilar <davvid@gmail.com> writes:
Show 12 quoted lines
> Teach difftool's --dir-diff mode to use symlinks to represent
> files from the working copy, and make it the default behavior
> for the non-Windows platforms.
>
> Using symlinks is simpler and safer since we do not need to
> worry about copying files back into the worktree.
> The old behavior is still available as --no-symlinks.
>
> Signed-off-by: David Aguilar <davvid@gmail.com>
> ---
> Handles the case where an editor unlinks the original symlink,
> replacing it with a file.
Thanks; will replace.
Previous: David AguilarNext: Tim Henigan
Message 9 of 13 in “difftool: Use symlinks in dir-diff mode”
  1. 0/5 difftool: Use symlinks in dir-diff modeDavid Aguilar, Jul 23, 2012
  2. 1/5 difftool: Simplify print_tool_help()David Aguilar, Jul 23, 2012
  3. 2/5 difftool: Eliminate global variablesDavid Aguilar, Jul 23, 2012
  4. 3/5 difftool: Move option values into a hashDavid Aguilar, Jul 23, 2012
  5. 4/5 difftool: Call the temp directory "git-difftool"David Aguilar, Jul 23, 2012
  6. 5/5 difftool: Use symlinks when diffing against the worktreeDavid Aguilar, Jul 23, 2012
  7. Junio C HamanoJul 23, 2012
  8. 4/5 difftool: Use symlinks when diffing against the worktreeDavid Aguilar, Jul 23, 2012
  9. Junio C HamanoJul 23, 2012
  10. Tim HeniganJul 24, 2012
  11. Junio C HamanoJul 24, 2012
  12. Junio C HamanoJul 23, 2012
  13. David AguilarJul 23, 2012

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.