On 02/21/2012 04:16 PM, Nguyen Thai Ngoc Duy wrote:
Not related to changes in the series, but on the same topic. Have you
considered grouping pathnames to reduce pressure on truncating them?
Instead of showing
a/b/c | ++--
a/b/d | --++
you could show
a/b:
c | ++--
d | --++
Optimal grouping strategy could be hard, but at least we could use it
for the case "git diff --stat -- one/path/deep/in/here"
I use (or would like to be able to use) the --stat output to select with
the mouse and paste into something like
emacsclient -n <pathname>
This would be harder with the grouping, because I'd have to select two
parts and paste two times and type a slash. So for me this would be a minus.
Also, I'm not sure about grouping if there's more than one group. The
graph wouldn't be as readable. But if there's only one group, i.e. if
all filenames have a common prefix ending in a slash, like in your
example, this could be useful.
Zbyszek
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html