summaryrefslogtreecommitdiff
path: root/server-info.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2005-07-28 20:37:23 -0700
committerJunio C Hamano <junkio@cox.net>2005-07-28 21:05:06 -0700
commit629170973d6fca813a7593c3aac9bb18a8e476a8 (patch)
tree9ece6ca5560a1375d270dd1f8839496bdbf7eb1a /server-info.c
parentdf076bdbccd26ccaf49fc332303f512403c8cde6 (diff)
downloadgit-629170973d6fca813a7593c3aac9bb18a8e476a8.tar.gz
[PATCH] Make git-apply --stat less butt-ugly with long filenames
When git-apply was printing out long filenames, it used to just truncate them to show the last "max_len" characters of the filename. Which can be really quite ugly (note the two filenames that have just been silently truncated from the beginning - it looks even worse when there are lots of them, like there were in the current v2.6.13-rc4 cris arch update): Documentation/video4linux/README.saa7134 | 9 Documentation/video4linux/bttv/Cards | 74 umentation/video4linux/hauppauge-wintv-cx88-ir.txt | 54 Documentation/video4linux/lifeview.txt | 42 mentation/video4linux/not-in-cx2388x-datasheet.txt | 41 Documentation/w1/w1.generic | 107 With this patch it now looks like so: Documentation/video4linux/README.saa7134 | 9 Documentation/video4linux/bttv/Cards | 74 .../video4linux/hauppauge-wintv-cx88-ir.txt | 54 Documentation/video4linux/lifeview.txt | 42 .../video4linux/not-in-cx2388x-datasheet.txt | 41 Documentation/w1/w1.generic | 107 ie we've made it clear with an ellipsis that we've cut off something from the beginning, and it also tries to do it cleanly at a subdirectory level. Signed-off-by: Linus "good taste" Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'server-info.c')
0 files changed, 0 insertions, 0 deletions