diff options
| author | Jeff Carr <[email protected]> | 2025-02-20 09:39:00 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-20 09:39:00 -0600 |
| commit | 815585d3435bc1a9dd5b811111a3ee30bf8a9cc3 (patch) | |
| tree | eb06de6bc0316d69cc873e10639e2b4967f10a33 | |
| parent | 77da32b99a6e96431d8cf65508f44a19bd5133d8 (diff) | |
commit --all does all dirty reposv0.22.87
| -rw-r--r-- | doCommit.go | 1 |
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 { |
