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

Re: [Census] So who uses git?

From
Alex Riesen <raa.lkml@gmail.com>
Date
Feb 1, 2006, 16:10 UTC
Message-ID
<81b0412b0602010810m3577263csed57ba75e0d6bb64@mail.gmail.com>
In-Reply-To
<20060201070847.2021.qmail@science.horizon.com>
On 1 Feb 2006 02:08:47 -0500, linux@horizon.com <linux@horizon.com> wrote:
Show 19 quoted lines
> > Yes, I think the "assume unchanged" flag goes well together with making
> > sure that the checked-out file is non-writable at the time.
> >
> > Of course, any number of editors and other actions won't care: if you do
> > anything like
> >
> >       for i in *.c
> >       do
> >               sed 's/xyzzy/bas/g' < $i > $i.new
> >               mv $i.new $i
> >       done
> >
> > you'll never have even noticed that the old file was marked read-only. So
> > it's obviously not in any way any guarantee, but it probably makes sense
> > as a crutch.
>
> At the risk of complicating something already very complicated, and
> possibly breaking on Microsoft file systems, that case can be detected
> by reading the directory and noticing that the inode number changed.

Inodes are either uselessor dangerous in cygwin (hash of an absolute pathname on FAT). They may not even change after rm+touch.

Previous: Linus TorvaldsNext: linux@horizon.com
Message 4 of 5 in “Re: [Census] So who uses git?”
  1. linux@horizon.comFeb 1, 2006
  2. Junio C HamanoFeb 1, 2006
  3. Linus TorvaldsFeb 1, 2006
  4. Alex RiesenFeb 1, 2006
  5. linux@horizon.comFeb 1, 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.