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

Re: [PATCH] http-push: Make WebDAV work with (broken?) default apache2 WebDAV module

From
NHNick Hengeveld <nickh@reactrix.com>
Date
Aug 11, 2006, 04:58 UTC
Message-ID
<20060811045801.GA4544@reactrix.com>
In-Reply-To
<7vk65h3drd.fsf@assigned-by-dhcp.cox.net>
On Wed, Aug 09, 2006 at 12:33:42PM -0700, Junio C Hamano wrote:
Show 13 quoted lines
> > WebDAV on Debian unstable cannot handle renames on WebDAV from
> > file.ext to newfile (without ext) when newfile* already
> > exists. Normally, git creates a file like 'objects/xx/sha1.token',
> > which is renamed to 'objects/xx/sha1' when transferred completely.
> >
> > Just use '_' instead of '.' so WebDAV doesn't see it as an extension
> > change.
> >
> > Signed-off-by: Rutger Nijlunsing <git@tux.tmfweb.nl>
> > Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
> 
> Good problem and workaround description.  Nick, does this look
> sane to you, or is there a more kosher way to handle this?

This looks good to me - while it seems like the problem is in the DAV server it also seems like problematic DAV servers will be less likely to trip up on an underscore in the filename.

-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.

This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
Previous: Junio C Hamano
Message 3 of 3 in “http-push: Make WebDAV work with (broken?) default apache2 WebDAV module”
  1. http-push: Make WebDAV work with (broken?) default apache2 WebDAV moduleRutger Nijlunsing, Aug 9, 2006
  2. Junio C HamanoAug 9, 2006
  3. Nick HengeveldAug 11, 2006

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.