Comment 3 for bug 35515

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 35515] Status grouping order makes files jump around

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Ellerman wrote:
| Public bug report changed:
| https://launchpad.net/malone/bugs/35515
|
| Comment:
| I'd vote for not grouping at all, and just printing "modified foo",
| "added bar" etc. on every line. That would solve Mark's problem, scales
| better (ie. header doesn't scroll off the screen), and works with grep.

I really dislike having these discussions as per-bug mini-mailinglists.
~ Where it's not an obvious bug, it's much better to do it on the mailing
list, where we can have a better discussion and hopefully reach a better
conclusion.

I think sorting by filename is better for the query "what happened to
this file?". And sorting by status is better for the query "Are there
any files with status foo"? I think the second is usually more
important, especially in cases where there are so many files listed that
a header would scroll off the screen.

I also think grouping is not necessarily tied to the decision to use
headers vs prefixes. You could easily have:

~ added abc.py
~ added zyx.py
unknown def.py
unknown uvw.py

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEHXjt0F+nu1YWqI0RAgeaAJ4qwz3Qr16S63V1XuPYSZxBLRRrQwCfYByG
SHt2n0D2X4Pm9nFe1X/0RxU=
=Vg89
-----END PGP SIGNATURE-----