You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When one invokes tig with something in Staged changes or Unstaged changes, the diff.orderFile from config is not honoured.
Order is maintained when one uses tig to navigate to any recent commit (so for changes already commited), and it works well with plain git diff on the very same changes made.
tig version 2.5.5
To reproduce in empty test repo:
echo '*.h' > test-order
echo '*.c' >> test-order
git config diff.orderFile test-order
echo h > h.h
echo c > c.c
git add c.c h.h
git commit -m c1
echo x > h.h
echo x > c.c
git diff
tig
The text was updated successfully, but these errors were encountered:
A long time ago, the choice was made to use git diff-files rather than git diff in the stage view (f99c609). It seems that git diff-files does not care about diff.orderFile.
When one invokes
tig
with something inStaged changes
orUnstaged changes
, thediff.orderFile
from config is not honoured.Order is maintained when one uses
tig
to navigate to any recent commit (so for changes already commited), and it works well with plaingit diff
on the very same changes made.tig version 2.5.5
To reproduce in empty test repo:
The text was updated successfully, but these errors were encountered: