diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-14 00:25:09 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-14 00:25:09 +0100 |
commit | 7e990a811d9e23b5a3573c405b70f06a1be9e7b6 (patch) | |
tree | 5cf329829edb41a562319f6242c13e90e350d365 /common.go | |
parent | 65351f835dcaa4b50dd44bce7bf3f2e31582dadc (diff) | |
download | go-git-7e990a811d9e23b5a3573c405b70f06a1be9e7b6.tar.gz |
submodule init and update implementation
Diffstat (limited to 'common.go')
-rw-r--r-- | common.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |