aboutsummaryrefslogtreecommitdiffstats
path: root/common.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-02-14 00:25:09 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-02-14 00:25:09 +0100
commit7e990a811d9e23b5a3573c405b70f06a1be9e7b6 (patch)
tree5cf329829edb41a562319f6242c13e90e350d365 /common.go
parent65351f835dcaa4b50dd44bce7bf3f2e31582dadc (diff)
downloadgo-git-7e990a811d9e23b5a3573c405b70f06a1be9e7b6.tar.gz
submodule init and update implementation
Diffstat (limited to 'common.go')
-rw-r--r--common.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.go b/common.go
index 6174339..f837a26 100644
--- a/common.go
+++ b/common.go
@@ -2,6 +2,8 @@ package git
import "strings"
+const defaultDotGitPath = ".git"
+
// countLines returns the number of lines in a string à la git, this is
// The newline character is assumed to be '\n'. The empty string
// contains 0 lines. If the last line of the string doesn't end with a