summaryrefslogtreecommitdiff
path: root/src/edit/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit/git.go')
-rw-r--r--src/edit/git.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/edit/git.go b/src/edit/git.go
index edeb111..715a703 100644
--- a/src/edit/git.go
+++ b/src/edit/git.go
@@ -105,7 +105,7 @@ var (
func parseGitTreeLine(line []byte) (rname string, rfile GitFile, err error) {
// There is probably a better, shorter way of doing this
-
+
// line = mode SP type SP hash SP size TAB name
a := bytes.SplitN(line, []byte{' '}, 4)
if len(a) != 4 {
@@ -139,10 +139,10 @@ func parseGitTreeLine(line []byte) (rname string, rfile GitFile, err error) {
rname = string(fname)
rfile = GitFile{
- Mode: int32(fmodeN),
- Type: string(ftype),
- Hash: string(fhash),
- Size: fsizeN,
+ Mode: int32(fmodeN),
+ Type: string(ftype),
+ Hash: string(fhash),
+ Size: fsizeN,
}
return
}