Lines Matching refs:count
22 def GetPlural(count): argument
24 return 's' if count != 1 else ''
33 count = len(commits)
34 count = (count + options.step - 1) / options.step
35 commit_str = '%d commit%s' % (count, GetPlural(count))
150 count = options.count
152 if count == -1:
154 count = 1
157 count, msg = gitutil.CountCommitsInRange(options.git_dir,
160 count, msg = gitutil.CountCommitsInBranch(options.git_dir,
162 if count is None:
164 elif count == 0:
169 count += 1 # Build upstream commit also
171 if not count:
207 if count == -1:
223 options.git_dir, count, series=None, allow_overwrite=True)