simple fix
This commit is contained in:
parent
d1c9436e45
commit
ef8240da56
|
@ -44,6 +44,10 @@ func doCommit() {
|
||||||
okExit("")
|
okExit("")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ! repo.IsDirty() {
|
||||||
|
okExit("this repo is not dirty")
|
||||||
|
}
|
||||||
|
|
||||||
if repo.GetCurrentBranchName() != repo.GetUserBranchName() {
|
if repo.GetCurrentBranchName() != repo.GetUserBranchName() {
|
||||||
found := new(gitpb.Repos)
|
found := new(gitpb.Repos)
|
||||||
found.Append(repo)
|
found.Append(repo)
|
||||||
|
|
Loading…
Reference in New Issue