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

Re: [PATCH] Do not rename read-only files during a push

From
Petr Baudis <pasky@suse.cz>
Date
Oct 3, 2008, 10:20 UTC
Message-ID
<20081003102043.GR10544@machine.or.cz>
In-Reply-To
<1222104029-28366-1-git-send-email-pasky@suse.cz>
On Mon, Sep 22, 2008 at 07:20:29PM +0200, Petr Baudis wrote:
Show 6 quoted lines
> Win32 does not allow renaming read-only files (at least on a Samba
> share), making push into a local directory to fail. Thus, defer
> the chmod() call in index-pack.c:final() only after
> move_temp_to_file() was called.
> 
> Signed-off-by: Petr Baudis <pasky@suse.cz>
Ping?
				Petr "Pasky" Baudis
Previous: Petr BaudisNext: Shawn O. Pearce
Message 2 of 4 in “Do not rename read-only files during a push”
  1. Do not rename read-only files during a pushPetr Baudis, Sep 22, 2008
  2. Petr BaudisOct 3, 2008
  3. Shawn O. PearceOct 3, 2008
  4. Miklos VajnaOct 3, 2008

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.