Project

General

Profile

Actions

Patch #3836

closed

Git repository support fails on Windows

Added by Michael Vance about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2009-09-08
Due date:
% Done:

100%

Estimated time:

Description

Git adapter uses a git command piped to wc to count lines, no wc in Windows, etc.


Files

redmine-git-no-wc.diff (664 Bytes) redmine-git-no-wc.diff Michael Vance, 2009-09-08 21:15
git_windows.diff (1.33 KB) git_windows.diff Jack Christensen, 2009-12-21 00:55
Actions #1

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.

Actions #2

Updated by Babar O'Cap about 15 years ago

Michael Vance> See my workaround, Bare repository on Windows on wiki page RedmineRepositories

Actions #3

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.

Actions #4

Updated by Jack Christensen almost 15 years ago

The above patch causes num_revisions to always return 2.

I've added a patch that should return the correct number of revisions.

Actions #5

Updated by Toshi MARUYAMA over 14 years ago

  • 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.

Actions #6

Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from Resolved to Closed

Indeed. This is fixed in 0.9.3.

Actions

Also available in: Atom PDF