bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#42145: vc-git file order mismatch between vc-dir and vc-diff


From: Juri Linkov
Subject: bug#42145: vc-git file order mismatch between vc-dir and vc-diff
Date: Tue, 30 Jun 2020 23:57:28 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

There is an old usability problem in vc-dir.

Typing ‘=’ in a vc-dir buffer displays a vc-diff buffer where files are
sorted by different order than files are sorted in the vc-dir buffer.

For example, there is a need to commit only part of changes.
To decide what files should be marked in the vc-dir buffer,
a convenient way is to browse diffs in the vc-diff buffer
one by one and mark corresponding files in the vc-dir buffer.
But since these file lists are in different order, the task
becomes a major hassle because vc-diff doesn't distinguish
between files and directories while sorting them by name,
but vc-dir puts directories at the end after files.

Is it possible to fix the file sorting order either in vc-dir
or in vc-diff buffers?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]