diff options
| author | Jeff Carr <[email protected]> | 2025-02-21 18:31:26 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-21 18:31:26 -0600 |
| commit | 1a255bdbf64f2cb0f87e532bed82cce42f77a741 (patch) | |
| tree | 5496c1f2ec9f8482e5ae3f6c42d51b74cd7bc9f9 /applyPatch.go | |
| parent | 66e65c7a004eb37f01935ea13fd78dae7de21e7e (diff) | |
start deprecating me.found
Diffstat (limited to 'applyPatch.go')
| -rw-r--r-- | applyPatch.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/applyPatch.go b/applyPatch.go index 9d70ff4..9abafef 100644 --- a/applyPatch.go +++ b/applyPatch.go @@ -51,9 +51,8 @@ func IsAnythingDirty() bool { me.found = new(gitpb.Repos) findAll() // select all the repos doCheckDirtyAndConfigSave() - me.found = new(gitpb.Repos) - findDirty() - if len(me.found.Repos) == 0 { + found := findDirty() + if found.Len() == 0 { return false } else { return true |
