From: Ævar Arnfjörð Bjarmason Date: Thu, 10 May 2018 12:43:00 +0000 (+0000) Subject: git-p4: change "commitish" typo to "committish" X-Git-Tag: v2.18.0-rc0~15^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/89f32a92b4f04ab93fc52ef16fa628cbb2bddd7d?hp=--cc git-p4: change "commitish" typo to "committish" This was the only occurrence of "commitish" in the tree, but as the log will reveal we've had others in the past. Fixes up code added in 00ad6e3182 ("git-p4: work with a detached head", 2015-11-21). Signed-off-by: Ævar Arnfjörð Bjarmason Acked-by: Luke Diamand Signed-off-by: Junio C Hamano --- 89f32a92b4f04ab93fc52ef16fa628cbb2bddd7d diff --git a/git-p4.py b/git-p4.py index 7bb9cadc69..1afa87cd9d 100755 --- a/git-p4.py +++ b/git-p4.py @@ -2099,11 +2099,11 @@ def run(self, args): commits = [] if self.master: - commitish = self.master + committish = self.master else: - commitish = 'HEAD' + committish = 'HEAD' - for line in read_pipe_lines(["git", "rev-list", "--no-merges", "%s..%s" % (self.origin, commitish)]): + for line in read_pipe_lines(["git", "rev-list", "--no-merges", "%s..%s" % (self.origin, committish)]): commits.append(line.strip()) commits.reverse()