Patch #3836
Git repository support fails on Windows
Status: | Closed | Start date: | 2009-09-08 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | SCM | |||
Target version: | - |
Description
Git adapter uses a git command piped to wc to count lines, no wc in Windows, etc.
History
#1
Updated by Eric Davis almost 13 years ago
Jean-Philippe, can you take a look at this patch? I don't have access to a Windows system with Redmine.
#2
Updated by Babar O'Cap almost 13 years ago
Michael Vance> See my workaround, Bare repository on Windows on wiki page RedmineRepositories
#3
Updated by Adam Soltys almost 13 years ago
Thanks for catching and patching this Michael. I can't believe I let this slip. I was a big Windows user until just this year and I always hated how it was treated as a second-class citizen by the Ruby community. Now here I've gone and done that myself. I'll make sure I remember to test any future patches in Windows before releasing them.
#4
Updated by Jack Christensen over 12 years ago
- File git_windows.diff
added
The above patch causes num_revisions to always return 2.
I've added a patch that should return the correct number of revisions.
#5
Updated by Toshi MARUYAMA over 12 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
#6
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from Resolved to Closed
Indeed. This is fixed in 0.9.3.