summaryrefslogtreecommitdiff
path: root/src/edit/git.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-02 16:11:01 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-02 16:11:01 -0400
commit1a7dd9bd692ff9db64cea670fa0feaa79c82706d (patch)
tree96ddc744a323c97deab92fa8f82a0b62cde89547 /src/edit/git.go
parentade49d8845e044292da64fcbe72a1f7ee91e66d9 (diff)
gofmt
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
}