Files with spaces in names aren't displayed properly in commit tab

Bug #591670 reported by Alexey Kotlyarov
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Gitg
Unknown
Unknown
gitg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gitg

Files with spaces in names have only the portion up to first space in the name in Commit display. Screenshot included.

How to reproduce:
$ mkdir test
$ cd test/
$ git init
Initialized empty Git repository in test/.git/
$ touch "spaces file"
$ git add spaces\ file
$ git commit -a -m initial
[master (root-commit) 90c2038] initial
 0 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 spaces file
$ echo space >> spaces\ file
$ gitg

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gitg 0.0.5-1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Jun 9 14:40:25 2010
ProcEnviron:
 LANGUAGE=ru_RU:ru:en
 PATH=(custom, user)
 LANG=ru_RU.utf8
 SHELL=/bin/bash
SourcePackage: gitg

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote :
Revision history for this message
Steve Baker (steve-stevebaker) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gitg (Ubuntu):
status: New → Confirmed
Revision history for this message
Mechanical snail (replicator-snail) wrote :

Upstream bug is marked fixed, but one part of the problem still exists in 0.2.4 on Precise.

To reproduce:

Initialize a repo.

Run:
touch 'foo bar'
git add 'foo bar'
gitg
Observe that in the Commit tab, Staged pane, the file shows up as 'foo'.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.