git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-svn bug: Output git directory has uncommitted changes

From
DMDaniel Marschall <info@daniel-marschall.de>
Date
Oct 24, 2021, 20:11 UTC
Message-ID
<77aacb3b44523223c7647bdae1702a31@daniel-marschall.de>
Hello,

I have found following bug in the latest version of git-svn . I have this issue with the old version shipped in Debian stable, as well as with the latest version built from source.

What did you do before the bug happened? (Steps to reproduce your issue)

Extract the following SVN repository to GIT: https://svn.viathinksoft.com/svn/filter_foundry/ The bug ONLY happens with this single SVN repository. All other SVN repositories from my server work perfectly.

$ PERL5LIB=perl/ ./git-svn --authors-file="../../authors.txt" clone --trunk="trunk" "https://svn.viathinksoft.com/svn/filter_foundry/" "_test" $ cd _test $ git status

What did you expect to happen? (Expected behavior)
git status should show that nothing needs to be commited.
What happened instead? (Actual behavior)

You get a long list of files which need to be committed. The list is sometimes longer and sometimes shorter. So, the behavior is not deterministic. I have the feeling that the list often contains all files in the repo.

Anything else you want to add:

This SVN repository was cloned from a foreign server to my own server, and then continued there. I think this SVN repository has some specific properties that cause the bugs.

Authors.txt file (changed email addresses for privacy reasons):

daniel-marschall = Person 1 <person1@example.com> www-data = Person 2 <person2@example.com> root = Person 3 <person3@example.com> toby = Person 4 <person4@example.com> ddenk = Person 5 <person5@example.com> peter = Person 6 <person6@example.com> dmarschall = Person 7 <person7@example.com>

[System Info] git version: git version 2.33.1 cpu: x86_64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh uname: Linux 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 compiler info: gnuc: 8.3 libc info: glibc: 2.28 $SHELL (typically, interactive shell): /bin/bash

[Enabled Hooks] not run from a git repository - no hooks to show

Next: Eric Wong
Message 1 of 6 in “git-svn bug: Output git directory has uncommitted changes”
  1. Daniel MarschallOct 24, 2021
  2. Eric WongOct 25, 2021
  3. Torsten BögershausenOct 26, 2021
  4. Daniel MarschallOct 26, 2021
  5. Torsten BögershausenOct 27, 2021
  6. Daniel MarschallOct 30, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.