Patch #3836
closedGit repository support fails on Windows
100%
Description
Git adapter uses a git command piped to wc to count lines, no wc in Windows, etc.
Files
Updated by Eric Davis about 15 years ago
Jean-Philippe, can you take a look at this patch? I don't have access to a Windows system with Redmine.
Updated by Babar O'Cap about 15 years ago
Michael Vance> See my workaround, Bare repository on Windows on wiki page RedmineRepositories
Updated by Adam Soltys about 15 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.
Updated by Jack Christensen almost 15 years ago
- File git_windows.diff 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.
Updated by Toshi MARUYAMA over 14 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Updated by Jean-Philippe Lang over 14 years ago
- Status changed from Resolved to Closed
Indeed. This is fixed in 0.9.3.