1
0
Fork 0
forked from forgejo/forgejo

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

This commit is contained in:
Ethan Koenig 2017-06-17 20:30:23 -04:00 committed by Lunny Xiao
parent b7812be33a
commit 6e452c4da7
5 changed files with 14 additions and 6 deletions

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