Patch #3836
closed
Git repository support fails on Windows
Added by Michael Vance about 15 years ago.
Updated over 14 years ago.
Description
Git adapter uses a git command piped to wc to count lines, no wc in Windows, etc.
Files
Jean-Philippe, can you take a look at this patch? I don't have access to a Windows system with Redmine.
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.
The above patch causes num_revisions to always return 2.
I've added a patch that should return the correct number of revisions.
- Status changed from New to Resolved
- % Done changed from 0 to 100
This code is removed from trunk by r3394 and 0.9 stable by r3501.
- Status changed from Resolved to Closed
Indeed. This is fixed in 0.9.3.
Also available in: Atom
PDF