summaryrefslogtreecommitdiff
path: root/cmd_comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_comment.go')
-rw-r--r--cmd_comment.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd_comment.go b/cmd_comment.go
index d2aaccc..9d5aa88 100644
--- a/cmd_comment.go
+++ b/cmd_comment.go
@@ -4,8 +4,6 @@ import (
"fmt"
"strconv"
"strings"
-
- "git.lukeshu.com/go/libfastimport/textproto"
)
// comment /////////////////////////////////////////////////////////////////////
@@ -74,7 +72,7 @@ func (CmdCatBlob) fiCmdRead(fir fiReader) (cmd Cmd, err error) {
type CmdLs struct {
DataRef string // optional if inside of a commit
- Path textproto.Path
+ Path Path
}
// If you're thinking "but wait, parser_registerCmd will see CmdLs as
@@ -111,7 +109,7 @@ func (CmdLs) fiCmdRead(fir fiReader) (cmd Cmd, err error) {
sp = strings.IndexByte(line, ' ')
}
c := CmdLs{}
- c.Path = textproto.PathUnescape(str[sp+1:])
+ c.Path = PathUnescape(str[sp+1:])
if sp >= 0 {
c.DataRef = str[:sp]
}