Project

General

Profile

Actions

Defect #5324

closed

Git not working if color.ui is enabled

Added by Rodrigo Toledo about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Category:
SCM
Target version:
Start date:
2010-04-15
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I'm using redmine trunk and git 1.6.0.4.
I started a new project, and it didn't work with a working bare repo. Then I found that webrick was outputting this error on its log:

fatal: Not a valid object name master:

with the word "*master*" highlighted in green.

So I went to the bare repo, and running "*git branch*" I saw that the green color was on the branch list too. So I disabled the ui.color locally in that bare repo using:

git config color.ui false

and now redmine sees my repo correctly.

So, I managed to fix it on the git side, but it should be good if redmine could be able to see this by itself, and fix it or warn the user.


Files

git--no-color.patch (1.8 KB) git--no-color.patch Bernhard Furtmueller, 2010-04-17 23:23
failing_test_5324.txt (5.08 KB) failing_test_5324.txt Jean-Baptiste Barth, 2010-11-07 16:42

Related issues

Related to Redmine - Defect #26645: git 2.14 compatibilityClosed

Actions
Actions

Also available in: Atom PDF