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

Re: Files that cannot be added to the index

From
Shaun Ruffell <sruffell@digium.com>
Date
Aug 27, 2011, 18:40 UTC
Message-ID
<20110827184009.GA12767@digium.com>
In-Reply-To
<20110827060718.GA28136@sigill.intra.peff.net>
On Sat, Aug 27, 2011 at 02:07:18AM -0400, Jeff King wrote:
Show 16 quoted lines
> On Fri, Aug 26, 2011 at 04:12:33PM -0500, Shaun Ruffell wrote:
> 
> > On Fri, Aug 26, 2011 at 10:59:19PM +0200, seanh wrote:
> > > I'm using git version 1.7.4.4 on OSX Lion, from macports. (I was
> > > having the problem on Snow Leopard too.)
> > 
> > Not sure if this is your problem exactly but awhile back I ran into
> > something similar to what you describe and tracked it down to the
> > fact that my filesystem was case insensitive. i.e.
> 
> I think both of you may be seeing the same bug I tracked down here:
> 
>   http://thread.gmane.org/gmane.comp.version-control.git/173612/focus=174634
> 
> Does the patch from the very end of the thread solve the problem for
> you? I should probably clean it up for inclusion in git.

I was going to apply the patch and see what happens, however when I built and tested 1.7.6 as a baseline I no longer could reproduce the issue.

  $ git commit -m "Makefile"
  [master a931b27] Makefile
   1 files changed, 0 insertions(+), 222 deletions(-)
   delete mode 100644 Makefile
   create mode 100644 makefile
  $ git ls-files -m

The previous version I had installed from one of the OSX package managers (not sure if it was fink or Macports) was 1.6.5.3.

NOTE: I had to compile git from source like "NO_FINK=1 make" in
order to avoid the "ld: warning: in /sw/lib/libiconv.dylib, file is
not of required architecture" error message.
So, in summary, it looks like this is fixed.

Thanks, Shaun

Previous: seanhNext: Shaun Ruffell
Message 7 of 10 in “Files that cannot be added to the index”
  1. seanhAug 26, 2011
  2. Michael J GruberAug 26, 2011
  3. seanhAug 26, 2011
  4. Shaun RuffellAug 26, 2011
  5. Jeff KingAug 27, 2011
  6. seanhAug 27, 2011
  7. Shaun RuffellAug 27, 2011
  8. Shaun RuffellAug 27, 2011
  9. seanhAug 27, 2011
  10. seanhAug 27, 2011

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.