https://bugzilla.novell.com/show_bug.cgi?id=697156
https://bugzilla.novell.com/show_bug.cgi?id=697156#c1
--- Comment #1 from Philippe De Muyter 2011-06-01 15:45:03 UTC ---
The patch found at http://trac-hacks.org/ticket/8682 and copied here fixes it.
Is it possible to apply it to your distributed rpm ?
Summary:
PathOption transforms "/usr/bin/git" by following the symbolic links into
"/usr/bin/git-receive-pack". When gitplugin tries to call
git version
it actually calls
/usr/bin/git-receive-pack version
which fails with :
fatal: 'version' does not appear to be a git repository
diff --git a/tracext/git/git_fs.py b/tracext/git/git_fs.py
index c33536c..de04769 100644
--- a/tracext/git/git_fs.py
+++ b/tracext/git/git_fs.py
@@ -193,7 +193,7 @@ class GitConnector(Component):
_git_fs_encoding = Option('git', 'git_fs_encoding', 'utf-8',
"define charset encoding of paths within git
repository")
- _git_bin = PathOption('git', 'git_bin', '/usr/bin/git',
+ _git_bin = Option('git', 'git_bin', '/usr/bin/git',
"path to git executable (relative to trac project
folder!)")
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.