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

Re: [PATCH] Add grep.fullName config variable

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 18, 2014, 18:39 UTC
Message-ID
<xmqqzjkn8i78.fsf@gitster.dls.corp.google.com>
In-Reply-To
<mvmy507stf1.fsf@hawking.suse.de>
Andreas Schwab <schwab@linux-m68k.org> writes:
> Yes, that would be required.  On the other hand, currently it is
> impossible to cut-n-paste a file name without --full-name, since the
> pager is always started in top-level.  Perhaps it is better to fix the
> latter?

So far we never cared where the pager runs, but as a principle, I think it would be nice if we run it in the original subdirectory, not at the top of the working tree (unless we have to bend backwards to make the codepath involved too ugly, that is).

Don't we have the exact same issue for the editor, by the way? Shouldn't we be running it in the original subdirectory as well?

Previous: Andreas SchwabNext: Andreas Schwab
Message 4 of 7 in “Add grep.fullName config variable”
  1. Add grep.fullName config variableAndreas Schwab, Mar 17, 2014
  2. Junio C HamanoMar 17, 2014
  3. Andreas SchwabMar 18, 2014
  4. Junio C HamanoMar 18, 2014
  5. Andreas SchwabMar 18, 2014
  6. Junio C HamanoMar 18, 2014
  7. Andreas SchwabMar 18, 2014

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.