summaryrefslogtreecommitdiff
path: root/include/git2/sys
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-06-15 02:00:35 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2017-10-06 23:53:34 +0100
commit752b7c792d7e2aad7be43a88114552233c230780 (patch)
tree8977e6715f0fc4853892c32e8979c86e037fcdaa /include/git2/sys
parent62ac39314c11ec43e34e2930f990c3d4ad13153b (diff)
downloadlibgit2-752b7c792d7e2aad7be43a88114552233c230780.tar.gz
checkout: treat files as modified if mode differs
When performing a forced checkout, treat files as modified when the workdir or the index is identical except for the mode. This ensures that force checkout will update the mode to the target. (Apply this check for regular files only, if one of the items was a file and the other was another type of item then this would be a typechange and handled independently.)
Diffstat (limited to 'include/git2/sys')
0 files changed, 0 insertions, 0 deletions