python-git (2.1.11-1+deb10u3) buster-security; urgency=high

  * CVE-2026-42215: block unsafe options passed as underscored kwargs
    (Closes: #1135349).
  * CVE-2026-44243: prevent access to files outside the repository when
    manipulating references.
  * CVE-2026-44244: reject control characters in config values written
    by the config writer, preventing config injection.
  * CVE-2026-67323: guard unsafe options (--exec, --upload-pack, ...) in
    archive, fetch, pull, push, ls-remote, blame and revision APIs.
  * CVE-2026-67324, CVE-2026-67325: abbreviated long options and joined
    short options bypassed the unsafe option checks, leading to command
    execution.
  * CVE-2026-67326: config section names were not validated before
    writing, allowing config injection.
  * CVE-2026-69097: config section names containing an unquoted closing
    bracket could inject arbitrary settings into .git/config (Closes:
    #1143602).
  * CVE-2026-73619: add --add-file, --add-virtual-file (archive) and
    --bundle-uri (clone) to the unsafe option lists (Closes: #1144344).
  * CVE-2026-73620: block unsafe options in IndexFile.checkout()
    (--prefix) and TagReference.create() (-F/--file), which could write
    to or read from arbitrary filesystem paths.
  * CVE-2026-73621: reject unsafe output options in Commit.count.
  * CVE-2026-73623: reject unsafe --template option when cloning.
  * CVE-2026-73624: guard unsafe output options in diff operations.
  * CVE-2026-73625: validate the values of split short options, which
    could bypass the unsafe option checks in clone, remote, revision,
    blame and archive operations.
  * CVE-2026-76217: guard --pathspec-from-file options in IndexFile.remove,
    Head.checkout and HEAD.reset (Closes: #1144929).
  * CVE-2026-76218: guard unsafe git init options (--template,
    --separate-git-dir) in Repo.init.
  * CVE-2026-76219: guard --index-output in read-tree calls made by
    from_tree, merge_tree and reset, which could write to an arbitrary
    path.
  * CVE-2026-76220: check the value joined to one-character options when
    split_single_char_options is false, which could bypass the unsafe
    option checks.
  * CVE-2026-76221: reject config option names containing characters that
    could inject arbitrary settings when writing the config.
  * CVE-2026-76222: validate submodule names read from .gitmodules before
    filesystem operations, preventing path traversal outside the
    repository.
  * CVE-2026-78675: do not process include directives in .gitmodules,
    which could read arbitrary files.
  * CVE-2026-78676: preserve multiline config values when writing, which
    could otherwise inject new options into the config.
  * CVE-2026-78677: block --separate-git-dir in Repo.clone() and
    Repo.clone_from(), which could write repository metadata to an
    arbitrary path.
  * CVE-2026-78678, CVE-2026-78679: block file-reading options in blame,
    diff and tag APIs, which could read arbitrary files.
  * fix-CVE-2022-24439-2.patch: add patch to fix CVE-2022-24439 backport
    patch.
  * CVE-2026-87817: prefer the .git entry during repository discovery and
    validate candidate git directories, aligning the behaviour with git.
  * CVE-2026-87818: treat --no-index as an unsafe diff option, since it
    allows diffing arbitrary filesystem paths.
  * CVE-2026-87819: parse actor identities without regular expressions,
    avoiding quadratic backtracking (ReDoS) on malformed identities.
  * CVE-2026-100689: reject submodule checkout paths that resolve outside
    the repository or through a symbolic link, applying to Submodule.update
    the containment check already used by add and move.
  * CVE-2026-110856: parse actor identities and dates in commit authors,
    committers and taggers without backtracking regular expressions,
    avoiding excessive CPU use (ReDoS) on malformed metadata.
  * CVE-2026-110857: complete the unsafe option and protocol checks in
    Git.ls_remote(), Repo.merge_base() and IndexFile.move(), which
    previously omitted guards already used by sibling APIs.
  * CVE-2026-110858: reject option-shaped remote names in Remote.update(),
    which git forwards to "fetch --multiple" without an option terminator,
    allowing a leading-dash name to change the requested operation.
  * CVE-2026-110859: validate the positional reference passed by
    Head.checkout() against the unsafe-option policy, since reference names
    originating in a cloned repository could otherwise bypass it.
  * CVE-2026-110860: reject submodule checkout, move and metadata paths that
    traverse intermediate symbolic links before performing filesystem
    operations.
  * CVE-2026-114145: GitPython validates a submodule's '.git' path only
    after cloning into it (RCE).

 -- Emmanuel Arias <eamanu@debian.org>  Wed, 25 Nov 2026 17:15:50 -0300

python-git (2.1.11-1+deb10u2) buster-security; urgency=high

  * Non-maintainer upload by the LTS Security Team.
  * Fix CVE-2023-41040: Blind local file inclusion.

 -- Guilhem Moulin <guilhem@debian.org>  Fri, 29 Sep 2023 15:53:15 +0200

python-git (2.1.11-1+deb10u1) buster-security; urgency=high

  * Non-maintainer upload by the LTS Security Team.
  * CVE-2022-24439: Remote Code Execution (RCE) due to improper user input
    validation, which makes it possible to inject a maliciously crafted
    remote URL into the clone command. Exploiting this vulnerability is
    possible because the library makes external calls to git without
    sufficient sanitization of input arguments. (Closes: #1027163)
  * [CVE pending] Follow-up fix for CVE-2022-24439.

 -- Sylvain Beucler <beuc@debian.org>  Mon, 24 Jul 2023 11:08:59 +0200

python-git (2.1.11-1) unstable; urgency=medium

  * New upstream version 2.1.11

 -- TANIGUCHI Takaki <takaki@debian.org>  Mon, 30 Jul 2018 11:45:18 +0900

python-git (2.1.10-1) unstable; urgency=medium

  * Bump Stanrads-Version to 4.1.5.
  * New upstream version 2.1.10.
  * debian/compat: 11

 -- TANIGUCHI Takaki <takaki@debian.org>  Fri, 06 Jul 2018 17:40:17 +0900

python-git (2.1.9-1) unstable; urgency=medium

  [ Ondřej Nový ]
  * d/control: Set Vcs-* to salsa.debian.org
  * d/copyright: Use https protocol in Format field
  * d/watch: Use https protocol
  * d/changelog: Remove trailing whitespaces

  [ TANIGUCHI Takaki ]
  * New upstream version 2.1.9
  * debian/control: Change python-git-doc with Multi-arch: foreign.
  * Bump Stanrads-Version to 4.1.4

 -- TANIGUCHI Takaki <takaki@debian.org>  Tue, 08 May 2018 17:21:25 +0900

python-git (2.1.8-1) unstable; urgency=medium

  * New upstream version 2.1.8 (Closes: #880446)
    - Fix "Incompatible with git 2.15?" (Closes: #879452)
  * debian/control: Replace python3-sphinx instead of python2-sphinx
  * delete debian/patches/0001-recognize-the-new-packed-ref-header-format.patch
    Upstream merged

 -- TANIGUCHI Takaki <takaki@debian.org>  Sat, 20 Jan 2018 18:48:00 +0900

python-git (2.1.7-1) unstable; urgency=medium

  * New upstream release

 -- Yaroslav Halchenko <debian@onerussian.com>  Mon, 06 Nov 2017 21:44:22 -0500

python-git (2.1.6-1) unstable; urgency=medium

  * New upstream release
    - fixes for submodules with names consisting of numbers and bools
    - worktree support

 -- Yaroslav Halchenko <debian@onerussian.com>  Tue, 26 Sep 2017 09:13:09 -0400

python-git (2.1.5-1) unstable; urgency=medium

  * New upstream version 2.1.5
  * Bump Standards-Verision to 4.0.0 (without changes).

 -- TANIGUCHI Takaki <takaki@debian.org>  Tue, 27 Jun 2017 18:49:38 +0900

python-git (2.1.3-1) experimental; urgency=medium

  * Fresh bugfix upstream release
    - upstreamed debian/patches/exe_exception.patch

 -- Yaroslav Halchenko <debian@onerussian.com>  Mon, 05 Jun 2017 22:11:58 -0400

python-git (2.1.1-2) unstable; urgency=medium

  * debian/patches/exe_exception.patch: Fix "import of git can cause import
    failures of unrelated modules due to undefined variable" (Closes: #857171)

 -- TANIGUCHI Takaki <takaki@debian.org>  Thu, 09 Mar 2017 11:37:28 +0900

python-git (2.1.1-1) unstable; urgency=medium

  * New upstream version 2.1.1

 -- TANIGUCHI Takaki <takaki@debian.org>  Thu, 02 Feb 2017 17:15:45 +0900

python-git (2.1.0-1) unstable; urgency=medium

  * Fresh upstream release (necessary for upcoming release of datalad)
  * Require smmap and gitdb >= 2
  * Enable build-time testing back while building NeuroDebian backports

 -- Yaroslav Halchenko <debian@onerussian.com>  Wed, 02 Nov 2016 08:13:11 -0400

python-git (2.0.9-1) unstable; urgency=medium

  [ Yaroslav Halchenko ]
  * debian/TODO to reincarnate testing

  [ TANIGUCHI Takaki ]
  * New upstream version 2.0.9

 -- TANIGUCHI Takaki <takaki@debian.org>  Mon, 17 Oct 2016 19:46:52 +0900

python-git (2.0.8-1) unstable; urgency=medium

  * New upstream version
  * No custom patches any longer -- absorbed upstream

 -- Yaroslav Halchenko <debian@onerussian.com>  Thu, 22 Sep 2016 16:09:21 -0400

python-git (2.0.5-1) unstable; urgency=medium

  * Team upload.
  * New upstream version.
  * d/patches/issue470-safe-decode.patch: Added as a proposed fix for
    upstream issue #470.

 -- Barry Warsaw <barry@debian.org>  Wed, 15 Jun 2016 06:59:02 -0400

python-git (2.0.2-1) unstable; urgency=medium

  * Team upload
  * New upstream version (note: 2.0.2 was not recorded with git-dpm)
  * debian/control
    - suggest python-git-doc in python{,3}-git pkgs (Closes: #811922)
    - added myself to uploaders since did a few already
    - boosted policy to 3.9.8

 -- Yaroslav Halchenko <debian@onerussian.com>  Thu, 28 Apr 2016 11:25:09 -0400

python-git (1.0.1+git137-gc8b8379-2.1) unstable; urgency=medium

  * Non-maintainer upload.
  * Add python 3 support (Closes: #774903):
    - Applied patch from the BTS.
    - Added --with python3 in debian/rules.
    - Added override_dh_auto_install to also install in Py3.
  * Using a separate package for -doc, now using override_dh_sphinxdoc and
    generating the html docs properly with sphinx-build.
  * Uncommented rm -rf build in auto_clean to allow double builds.
  * Bumped compat level to 7 (as lintian is not happy...).
  * Removed X-Python-Version: >= 2.7 (as even old-stable has 2.7 by default)
    and removed obsolete debian/pycompat file.

 -- Thomas Goirand <zigo@debian.org>  Tue, 05 Jan 2016 11:07:29 +0000

python-git (1.0.1+git137-gc8b8379-2) unstable; urgency=medium

  [ SVN-Git Migration ]
  * Update Vcs fields for git migration

  [ Stefano Rivera ]
  * git-dpm tag config

  [ TANIGUCHI Takaki ]
  * debian/watch: Switch to pypy.debian.net.
  * debian/rules:
    + remove target override_dh_auto_clean
    + remove target override_dh_auto_test (Closes: #805535)
  * debian/copyright: Update Source.

 -- TANIGUCHI Takaki <takaki@debian.org>  Sun, 29 Nov 2015 17:17:50 +0900

python-git (1.0.1+git137-gc8b8379-1) unstable; urgency=medium

  * Fresh snapshot post upstream release -- mainly bugfixes discovered
    after release. Upload to unstable (Closes: #790068)
  * debian/control
    - X-Python-Version: >= 2.7  to avoid problems on wheezy with 2.6 supported
      and then needing python-ordereddict
  * debian/rules
    - set LC_ALL=C.UTF-8 while running tests

 -- Yaroslav Halchenko <debian@onerussian.com>  Mon, 17 Aug 2015 17:56:44 -0400

python-git (0.3.6+git28-g88f3dc2-1) experimental; urgency=medium

  * Fresh upstream snapshot with a variety of bugs fixed, e.g.
    running hooks from cwd which caused problems with annex repos
    - all up_* patches were adopted upstream, thus dropped here

 -- Yaroslav Halchenko <debian@onerussian.com>  Fri, 06 Mar 2015 23:00:41 -0500

python-git (0.3.6+git5-gd8bbfea-1) experimental; urgency=medium

  * New post-release snapshot with some fixes (Closes: #769595)
    - detects untracked files correctly now (Closes: #739898)
    - includes debian/patches/dont-choke-on-rc-version.patch
  * debian/control
    - bump Standards-Version to 3.9.6
    - added python-smmap (>= 0.8.3) to Build-Depends and Suggests:
      used for testing
    - needs gitdb >= 0.6.4 -- adjusted version in *Depends
  * debian/rules
    - enable build-time testing if available on network and capable of
      cloning original GitPython repository

 -- Yaroslav Halchenko <debian@onerussian.com>  Thu, 05 Feb 2015 18:44:46 -0500

python-git (0.3.2~RC1-3) unstable; urgency=low

  * Update Homepage to a working URL.
  * Bump Standards-Version to 3.9.5.
  * Correctly parses `git --version` when not all components are
    numeric. Closes: #722481.

 -- Vincent Bernat <bernat@debian.org>  Sat, 02 Nov 2013 01:27:18 +0100

python-git (0.3.2~RC1-2) unstable; urgency=low

  [ Jakub Wilk ]
  * Use canonical URIs for Vcs-* fields.

  [ TANIGUCHI Takaki ]
  * debian/control: Change Maintainer to Python Module Team. (Closes: #705279)
    + Remove "Daniel Watkins <daniel@daniel-watkins.co.uk>" from Maintainer.

 -- TANIGUCHI Takaki <takaki@debian.org>  Mon, 13 May 2013 10:10:01 +0900

python-git (0.3.2~RC1-1) unstable; urgency=low

  * Team upload.
  * New upstream release
  * Add myself to Uploaders.
  * Bump Standards-Version to 3.9.3.
    + debian/copyright: copyright-format 1.0
  * Add python-gitdb to Depends:.

 -- TANIGUCHI Takaki <takaki@debian.org>  Sun, 08 Apr 2012 21:12:50 +0900

python-git (0.3.1~beta2-1) unstable; urgency=low

  [ Andreas Noteng ]
  * Team upload.
  * Update git dependency. (Closes: #600237, #568583)
  * New upstream release. (Closes: #579553)
  * Add upstream documentation. (Closes: #523881)
  * Change source format to 3.0 (quilt)
  * Bump Standards-Version to 3.9.2
    - Remove deprecated /usr/share/common-licenses/BSD link from copyright
  * Change to DEP5 copyright

  [ Vincent Bernat ]
  * Add myself as uploader

 -- Vincent Bernat <bernat@debian.org>  Thu, 05 May 2011 23:48:19 +0200

python-git (0.1.6-1) unstable; urgency=low

  * New upstream release. (Closes: #512584)
  * Changed licensing of packaging to match upstream's license.

 -- Daniel Watkins <daniel@daniel-watkins.co.uk>  Sat, 07 Feb 2009 12:10:15 +0100

python-git (0.1.5-1) unstable; urgency=low

  * New upstream release. (Closes: #501211, #507276)
  * Added Debian Python Modules Team to Uploaders field.
  * Updated Vcs-* fields to reflect the use of the DPMT Subversion repository.
  * Removed all patches merged upstream.
  * Converted debian/rules to use debhelper 7.

 -- Daniel Watkins <daniel@daniel-watkins.co.uk>  Wed, 07 Jan 2009 14:04:00 +0000

python-git (0.1.4.1-2) unstable; urgency=low

  * Fixed the synopsis to work as an appositive clause in a sentence, as per
    Section 6.2.2 of the Developer Reference.
  * Added patch so that git.Repo.create and git.Repo.init_bare now create a
    bare repository, as intended. (Closes: #494581)
  * Added Vcs-Bzr control field.

 -- Daniel Watkins <daniel@daniel-watkins.co.uk>  Mon, 18 Aug 2008 19:50:22 +0100

python-git (0.1.4.1-1) unstable; urgency=low

  * Initial release. (Closes: #492520)

 -- Daniel Watkins <daniel@daniel-watkins.co.uk>  Sat, 26 Jul 2008 20:48:13 +0100
