summaryrefslogtreecommitdiff
path: root/doCommit.go
diff options
context:
space:
mode:
Diffstat (limited to 'doCommit.go')
-rw-r--r--doCommit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/doCommit.go b/doCommit.go
index 95c844a..829340b 100644
--- a/doCommit.go
+++ b/doCommit.go
@@ -70,6 +70,7 @@ func doCommitRepo(repo *gitpb.Repo) error {
log.Info("")
return nil
}
+ os.Chdir(repo.GetFullPath())
os.Setenv("LESS", "-XR")
if err := shell.Exec([]string{"git", "diff"}); err != nil {