diff --git a/VERSION b/VERSION index cd23180..32786aa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.17 +0.0.18 diff --git a/repo/repo.go b/repo/repo.go index cbef075..5a6a3fa 100644 --- a/repo/repo.go +++ b/repo/repo.go @@ -55,6 +55,9 @@ func UpdatedFiles(commit string) (files []string, err error) { return nil, err } } + if len(out) == 0 && commit != "HEAD^1" { + return UpdatedFiles("HEAD^1") + } root := Root() for _, f := range strings.Split(string(out), "\n") { if f != "" {