Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 4bdb3a6

Browse files
committed
1 parent c3646dd commit 4bdb3a6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/GitHub.Api/Git/Tasks/GitCommitTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public GitCommitTask(string message, string body,
1515
Guard.ArgumentNotNullOrWhiteSpace(message, "message");
1616

1717
Name = TaskName;
18-
arguments = "commit ";
18+
arguments = "-c i18n.commitencoding=utf8 commit ";
1919
arguments += String.Format(" -m \"{0}\"", message);
2020
if (!String.IsNullOrEmpty(body))
2121
arguments += String.Format(" -m \"{0}\"", body);

src/GitHub.Api/Git/Tasks/GitLogTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public GitLogTask(IGitObjectFactory gitObjectFactory,
1515

1616
public override string ProcessArguments
1717
{
18-
get { return @"log --pretty=format:""%H%n%P%n%aN%n%aE%n%aI%n%cN%n%cE%n%cI%n%B---GHUBODYEND---"" --name-status"; }
18+
get { return @"-c i18n.logoutputencoding=utf8 -c core.quotepath=false log --pretty=format:""%H%n%P%n%aN%n%aE%n%aI%n%cN%n%cE%n%cI%n%B---GHUBODYEND---"" --name-status"; }
1919
}
2020
}
2121
}

src/GitHub.Api/Git/Tasks/GitStatusTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public GitStatusTask(IGitObjectFactory gitObjectFactory,
1515

1616
public override string ProcessArguments
1717
{
18-
get { return "status -b -u --ignored --porcelain"; }
18+
get { return "-c i18n.logoutputencoding=utf8 -c core.quotepath=false status -b -u --ignored --porcelain"; }
1919
}
2020
public override TaskAffinity Affinity { get { return TaskAffinity.Exclusive; } }
2121
}

0 commit comments

Comments
 (0)