mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-31 15:21:00 +08:00
Update code.gitea.io/git (#1998)
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user