fixed bug related to #163

This commit is contained in:
Brad Rydzewski 2014-03-08 17:21:06 -07:00
parent e7e046b35c
commit 265138c758

View file

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