Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Commit

Permalink
restore git index casing check (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctaggart authored Mar 15, 2017
1 parent aa52650 commit bc0b031
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dotnet-sourcelink-git/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,12 @@ public static void Create(CommandLineApplication command)
{
filesNotInGit.Add(sf);
}
else if (index.Path != sf.GitPath)
{
// mysysgit sets core.ignorecase true by default
// but most web sites like GitHub are case sensitive
filesNotInGit.Add(sf);
}
else
{
sf.GitHash = index.Id.Sha;
Expand Down

0 comments on commit bc0b031

Please sign in to comment.