# gitk does not appreciate file names including spaces

2 messages from 2006-10-12 to 2006-10-12. Participants: Sergio Callegari, Ray Lehtiniemi.
Thread: https://gitlist.dev/t/5902

## Sergio Callegari, 2006-10-12 14:45

Subject: gitk does not appreciate file names including spaces
Message-ID: <452E5510.9090002@arces.unibo.it>
URL: https://gitlist.dev/e/452E5510.9090002%40arces.unibo.it

```
Just a short notice about it. Not a big issue, really... just that in the
quadrant at the bottom right of the gitk screen, filenames including spaces
are not shown properly.

Sergio

-- 
----------------------------------------------------------------
Dr. Sergio Callegari                 Via Fontanelle 40
Researcher                           47100 Forlì
II School of Engineering             Tel. +39.0543.786927
University of Bologna                Fax. +39.0543.786926

Affiliated with:
DEIS  - Dept. of Electronics, Computer Sciences and Systems,
        University of Bologna (www.deis.unibo.it)
ARCES - Advanced Research Center on Electronic Systems for
        Information and Communication Technologies
        Unversity of Bologna  (www.arces.unibo.it)
================================================================

```

## Ray Lehtiniemi, 2006-10-12 15:03

Subject: [PATCH] [PATCH] gitk: Handle spaces in filenames
Message-ID: <11606654193188-git-send-email-rayl@mail.com>
URL: https://gitlist.dev/e/11606654193188-git-send-email-rayl%40mail.com
In-Reply-To: <11606654193083-git-send-email-rayl@mail.com>

```
---
 gitk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gitk b/gitk
index ebbeac6..3196719 100755
--- a/gitk
+++ b/gitk
@@ -4324,7 +4324,7 @@ proc gettreediffline {gdtf ids} {
 	}
 	return
     }
-    set file [lindex $line 5]
+    set file [lrange $line 5 end]
     lappend treediff $file
 }
 
-- 
1.4.3.rc2.ge19ff

```
