Update code.gitea.io/git (#1998)

This commit is contained in:
Ethan Koenig authored and Lunny Xiao committed 2017-06-18 08:30:23 +08:00
1 parent b7812be33a
commit 6e452c4da7
5 files changed
+14 -6

No files matched your search

+7
View File
@@ -5,6 +5,7 @@
package git
import (
"fmt"
"os"
"path/filepath"
"sort"
@@ -254,6 +255,12 @@ func getNextCommitInfos(state *getCommitInfoState) error {
if path == "" {
break
}
if path[0] == '"' {
path, err = strconv.Unquote(path)
if err != nil {
return fmt.Errorf("Unquote: %v", err)
}
}
state.update(path)
}
i++ // skip blank line