forked from forgejo/forgejo
Update code.gitea.io/git (#1998)
This commit is contained in:
parent
b7812be33a
commit
6e452c4da7
5 changed files with 14 additions and 6 deletions
7
vendor/code.gitea.io/git/tree_entry.go
generated
vendored
7
vendor/code.gitea.io/git/tree_entry.go
generated
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue