summaryrefslogtreecommitdiffstats
path: root/gitcommands.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-08-06 00:04:11 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-08-06 00:04:11 +1000
commit6126ddd373ddf18b96566eb1ddc204f017b449cb (patch)
tree9b1609cebb31cfd33c5ce4944e9fbb5df01b2c59 /gitcommands.go
parent59885e45df4a2832006e4b5550cb930e1c9fe794 (diff)
fix spacing
Diffstat (limited to 'gitcommands.go')
-rw-r--r--gitcommands.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/gitcommands.go b/gitcommands.go
index a5f94c7f6..e0f5bacfe 100644
--- a/gitcommands.go
+++ b/gitcommands.go
@@ -14,8 +14,8 @@ import (
)
var (
- // ErrNoCheckedOutBranch : When we have no checked out branch
- ErrNoCheckedOutBranch = errors.New("No currently checked out branch")
+ // ErrNoCheckedOutBranch : When we have no checked out branch
+ ErrNoCheckedOutBranch = errors.New("No currently checked out branch")
)
// GitFile : A staged/unstaged file
@@ -532,8 +532,8 @@ git reflog -n100 --pretty='%cr|%gs' --grep-reflog='checkout: moving' HEAD | {
printf "%s\t%s\n" "$date" "$branch"
fi
fi
- done \
- | sed 's/ months /m /g' \
+ done \
+ | sed 's/ months /m /g' \
| sed 's/ month /m /g' \
| sed 's/ days /d /g' \
| sed 's/ day /d /g' \