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

Re: [PATCH] import-tars: Use the "Link indicator" to identify directories

From
Junio C Hamano <junkio@cox.net>
Date
May 16, 2007, 18:49 UTC
Message-ID
<7vlkfoeh80.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7vsl9weie0.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 5 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
>> Earlier, we used the mode to determine if a name was associated with
>> a directory. This fails, since some tar programs do not set the mode
>> correctly. However, the link indicator _has_ to be set correctly.

Nah, what was I smoking. Even gtar seems to give mode="0000775" (with NUL termination) for directories, so there is no way there were regressions. Patch looks good.

	Acked-by: Junio C Hamano <junkio@cox.net>
Previous: Junio C Hamano
Message 4 of 4 in “Another fast-import/import-tars issue”
  1. Chris RiddochMay 11, 2007
  2. import-tars: Use the "Link indicator" to identify directoriesJohannes Schindelin, May 16, 2007
  3. Junio C HamanoMay 16, 2007
  4. Junio C HamanoMay 16, 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.