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

Re: git rebase failing when using ZFS partition on Mac OS X

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
May 6, 2009, 23:26 UTC
Message-ID
<200905070126.43651.robin.rosenberg.lists@dewire.com>
In-Reply-To
<1FF266A7-CD80-4471-A837-D64007EE530A@gmail.com>
onsdag 06 maj 2009 23:14:11 skrev Alex Blewitt <alex.blewitt@gmail.com>:
Show 41 quoted lines
> I've found out why git rebase wasn't working for me. It appears to be  
> something to do with the fact that the filesystem is running on ZFS  
> (and frankly, could well be a ZFS bug). I'd be loathe to move away  
> from ZFS generally but it would be good to find out why it's  
> complaining.
> 
> apple:egit alex$ git status
> # On branch master
> # Your branch is ahead of 'origin/master' by 3 commits.
> #
> nothing to commit (working directory clean)
> apple:egit alex$ git rebase -i HEAD~1
> Working tree is dirty
> 
> Here's what running a stat on TODO (an arbitrary file at the head of  
> the project) gives on a ZFS mounted file:
> 
> apple:egit alex$ stat -r TODO
> 754974724 135333 0100644 1 1000 100 0 2179 1241639236 1241034917  
> 1241639236 1241034917 2560 5 0 TODO
> apple:egit alex$ stat TODO
> 754974724 135333 -rw-r--r-- 1 alex bandlem 0 2179 "May  6 20:47:16  
> 2009" "Apr 29 20:55:17 2009" "May  6 20:47:16 2009" "Apr 29 20:55:17  
> 2009" 2560 5 0 TODO
> 
> Here's what running a stat on the same file on an HFS partition gives:
> 
> apple:egit alex$ stat -r TODO
> 234881026 930759 0100644 1 1000 0 0 2179 1241643695 1241034917  
> 1241643690 1241034917 4096 8 0 TODO
> apple:egit alex$ stat TODO
> 234881026 930759 -rw-r--r-- 1 alex wheel 0 2179 "May  6 22:01:35 2009"  
> "Apr 29 20:55:17 2009" "May  6 22:01:30 2009" "Apr 29 20:55:17 2009"  
> 4096 8 0 TODO
> 
> These are repeatable; if I re-run this periodically, it doesn't seem  
> to change. However, I wonder if there's any dependency on an 'inode'  
> or similar, which doesn't really have a comparable concept in ZFS.
> 
> Is there any more information that I can provide to assist with  
> finding out what's going on?

Try mine or Linus patch at http://thread.gmane.org/gmane.comp.version-control.git/117649/ and so what that gives.

-- robin
Previous: Alex Blewitt
Message 2 of 2 in “git rebase failing when using ZFS partition on Mac OS X”
  1. Alex BlewittMay 6, 2009
  2. Robin RosenbergMay 6, 2009

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.