mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-24 07:22:04 +08:00
master and forks aren't dirty
This commit is contained in:
@@ -111,10 +111,6 @@ def is_dirty() -> bool:
|
||||
pass
|
||||
|
||||
dirty = (subprocess.call(["git", "diff-index", "--quiet", branch, "--"]) != 0)
|
||||
|
||||
dirty = dirty or (not is_comma_remote())
|
||||
dirty = dirty or ('master' in branch)
|
||||
|
||||
except subprocess.CalledProcessError:
|
||||
cloudlog.exception("git subprocess failed while checking dirty")
|
||||
dirty = True
|
||||
|
||||
Reference in New Issue
Block a user