Name |
Last commit
|
Last update |
---|---|---|
.. | ||
attr | ||
attr_index | ||
bad_tag.git | ||
config | ||
empty_bare.git | ||
empty_standard_repo/.gitted | ||
issue_592 | ||
status | ||
submodules | ||
testrepo/.gitted | ||
testrepo.git | ||
.gitattributes | ||
.gitignore | ||
big.index | ||
gitgit.index |
Depending on the operation, we need to consider gitattributes in both the work dir and the index. This adds a parameter to all of the gitattributes related functions that allows user control of attribute reading behavior (i.e. prefer workdir, prefer index, only use index). This fix also covers allowing us to check attributes (and hence do diff and status) on bare repositories. This was a somewhat larger change that I hoped because it had to change the cache key used for gitattributes files.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
attr | Loading commit data... | |
attr_index | Loading commit data... | |
bad_tag.git | Loading commit data... | |
config | Loading commit data... | |
empty_bare.git | Loading commit data... | |
empty_standard_repo/.gitted | Loading commit data... | |
issue_592 | Loading commit data... | |
status | Loading commit data... | |
submodules | Loading commit data... | |
testrepo/.gitted | Loading commit data... | |
testrepo.git | Loading commit data... | |
.gitattributes | Loading commit data... | |
.gitignore | Loading commit data... | |
big.index | Loading commit data... | |
gitgit.index | Loading commit data... |