Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Transient poopies after JGit commit

On 20 Feb 2010, at 17:46, Robin Rosenberg wrote:

> You can tell C Git to ignore ctime (core.trustctime = false)  and see if it helps.

I added the following to my .gitconfig:

[core]
	trustctime = false

And now I can rebase interactively on my ZFS partition! I'd had problems in the past where doing a 'git rebase' would complain that the working tree was dirty, even though git status showed that it wasn't; 

apple:test alex$ git status
# On branch master
nothing to commit (working directory clean)
apple:test alex$ git rebase -i a6c37f4ea9881897650504756a61556015978b96
Working tree is dirty
apple:test alex$ git config --global core.trustctime false
apple:test alex$ git rebase -i a6c37f4ea9881897650504756a61556015978b96
Successfully rebased and updated refs/heads/master.

I can't thank you enough for giving this piece of advice, since now I'll be able to successfully rebase on my ZFS partition - and at the same time, look for where the error happens to be in the ZFS implementation.

Alex

Back to the top