Re: Cannot rewrite branch(es) with a dirty working directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



James Blackburn <jamesblackburn@xxxxxxxxx> writes:

> Is there a particular reason why filter-branch thinks the tree is
> dirty,

No idea. It comes after a "git reset --hard", so it's supposed to be
clean.

> and status magically fixes this?

The index is considered dirty if the stat information (timestamp) is
different. "git status" updates the stat-cache to consider unmodified
content as up-to-date. So, it's normal that a "git status" repairs the
dirty index.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]