git cl refactor: s/should_git_number/should_add_git_number
R=sergiyb@google.com
BUG=chromium:642493
Change-Id: Id7b732d82c25ce88a3295ff54c79cf2a66e0d5b9
Reviewed-on: https://chromium-review.googlesource.com/419437
Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org>
Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
diff --git a/git_cl.py b/git_cl.py
index 46af2bc..c13d6a6 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1160,7 +1160,7 @@
return self._pending_prefix
@property
- def should_git_number(self):
+ def should_add_git_number(self):
return self._validator_enabled and self._pending_prefix is None
@@ -4658,7 +4658,7 @@
pending_prefix = git_numberer.pending_prefix
- if git_numberer.should_git_number:
+ if git_numberer.should_add_git_number:
# TODO(tandrii): run git fetch in a loop + autorebase when there there
# is no pending ref to push to?
logging.debug('Adding git number footers')