[Python-modules-team] Bug#739898: python-git: untracked_files no longer detected

Maximiliano Curia maxy at debian.org
Sun Feb 23 16:56:55 UTC 2014


Package: python-git
Version: 0.3.2~RC1-3
Severity: important
Tags: upstream patch

Hi,

The output of git status is no longer in the format expected by python-git, in
particular the Repo.untracked_files property parses the git status output
expecting a:
# Untracked files:

while later versions of git droped the #, also there are some subtleties in
the management of the file names (avoid the use of replace and rstrip
removes spaces not only '\n').

I'm attaching a patch that fixes the untracked_files property.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-git depends on:
ii  git [git-core]  1:1.9.0-1
ii  git-core        1:1.9.0-1
ii  libjs-jquery    1.7.2+dfsg-3
ii  python          2.7.5-5
ii  python-gitdb    0.5.4-1

python-git recommends no packages.

python-git suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/pyshared/git/repo/base.py (from python-git package)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gitpython_untracked_files.diff
Type: text/x-diff
Size: 1744 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140223/69973fc8/attachment.diff>


More information about the Python-modules-team mailing list