simple fix

This commit is contained in:
Jeff Carr 2025-08-19 21:07:33 -05:00
parent d1c9436e45
commit ef8240da56
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ func doCommit() {
okExit("")
}
if ! repo.IsDirty() {
okExit("this repo is not dirty")
}
if repo.GetCurrentBranchName() != repo.GetUserBranchName() {
found := new(gitpb.Repos)
found.Append(repo)