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

Re: [PATCH/RFR&A] Do not rename read-only files during a push

From
Johannes Sixt <johannes.sixt@telecom.at>
Date
Oct 19, 2008, 17:41 UTC
Message-ID
<200810191941.46986.johannes.sixt@telecom.at>
In-Reply-To
<7v63np83mw.fsf@gitster.siamese.dyndns.org>
On Sonntag, 19. Oktober 2008, Junio C Hamano wrote:
Show 6 quoted lines
> From: Petr Baudis <pasky@suse.cz>
>
> 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.
Concerning the Win32 aspect of this patch:
Acked-by: Johannes Sixt <johannes.sixt@telecom.at>
-- Hannes
Previous: Shawn O. Pearce
Message 3 of 3 in “Do not rename read-only files during a push”
  1. Do not rename read-only files during a pushJunio C Hamano, Oct 19, 2008
  2. Shawn O. PearceOct 19, 2008
  3. Johannes SixtOct 19, 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.