We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff67d4 commit 2f740f2Copy full SHA for 2f740f2
tree_entry.go
@@ -5,6 +5,7 @@
5
package git
6
7
import (
8
+ "fmt"
9
"os"
10
"path/filepath"
11
"sort"
@@ -254,6 +255,12 @@ func getNextCommitInfos(state *getCommitInfoState) error {
254
255
if path == "" {
256
break
257
}
258
+ if path[0] == '"' {
259
+ path, err = strconv.Unquote(path)
260
+ if err != nil {
261
+ return fmt.Errorf("Unquote: %v", err)
262
+ }
263
264
state.update(path)
265
266
i++ // skip blank line
0 commit comments