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

Re: [PATCH] quote_path: convert empty path to "./"

From
Thomas Harning <harningt@gmail.com>
Date
Dec 7, 2007, 19:05 UTC
Message-ID
<4759996B.2000300@gmail.com>
In-Reply-To
<Pine.LNX.4.64.0712071853500.27959@racer.site>
Johannes Schindelin wrote:
Show 11 quoted lines
> Hi,
>
> On Fri, 7 Dec 2007, Jeff King wrote:
>   
>> ...
>>     
>
> Sounds reasonable.
>
> Ciao,
> Dscho  

I concur. There is one case that this seems to dodge. What about the case where you are in:

/test/test_2  where /test  is not tracked...
This should probably show "./../"   not just "./"   , right?
Previous: Johannes SchindelinNext: Jeff King
Message 3 of 12 in “quote_path: convert empty path to "./"”
  1. quote_path: convert empty path to "./"Jeff King, Dec 7, 2007
  2. Johannes SchindelinDec 7, 2007
  3. Thomas HarningDec 7, 2007
  4. Jeff KingDec 7, 2007
  5. add status.relativePaths config variableJeff King, Dec 7, 2007
  6. Junio C HamanoDec 8, 2007
  7. Junio C HamanoDec 8, 2007
  8. Jeff KingDec 8, 2007
  9. Junio C HamanoDec 8, 2007
  10. Jeff KingDec 8, 2007
  11. Jeff KingDec 8, 2007
  12. Junio C HamanoDec 8, 2007

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.