fixing issue related to local cache name, see issue #163

This commit is contained in:
Brad Rydzewski
2014-03-07 11:42:42 -07:00
parent ef908ebb94
commit 68ff4aa2d1
2 changed files with 67 additions and 67 deletions

View File

@@ -134,7 +134,7 @@ func run(path string) {
}
// get the repository root directory
dir := filepath.Dir(path)
dir := filepath.Base(filepath.Dir(path))
code := repo.Repo{
Name: dir,
Branch: "HEAD", // should we do this?