Modify ↓
Opened 14 years ago
Closed 14 years ago
#7246 closed defect (worksforme)
[git] git_bin doesn't strip # comments and spaces correctly.
Reported by: | anonymous | Owned by: | Herbert Valerio Riedel |
---|---|---|---|
Priority: | low | Component: | GitPlugin |
Severity: | major | Keywords: | giterror retrieve version synchronize |
Cc: | Trac Release: | 0.12 |
Description
Trac 0.12, git 1.7.0.2.msysgit.0, tracgit 0.12.0.2dev.
If you have comments and spaces after the filename in git_bin, GitPlugin will report
Warning: Can't synchronize with repository "(default)" (GIT backend not available). Look in the Trac log for more information.
due to
Trac[git_fs] ERROR: GitError: Could not retrieve GIT version
For example, this will fail :
git_bin = path\to\git.exe # Abandon all hope.
Whereas this will succeed
git_bin = path\to\git.exe # Sunshine & kittens!
This caused me hours of grief. Hope I help others.
Attachments (0)
Change History (3)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
I still get:
ERROR: GitError: Could not retrieve GIT version
and don't get it fixed.
openSUSE 11.1 trac 0.12 git 1.7.1
comment:3 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Made error message slightly more informative in c50d90dacb59001fc1d40f92f55a187f2ef012f8
Note: See
TracTickets for help on using
tickets.
Could I (initial poster) also suggest a more informative error message? Perhaps...