Skip to content

Commit 89f32a9

Browse files
avargitster
authored andcommitted
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 00ad6e3 ("git-p4: work with a detached head", 2015-11-21). Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Acked-by: Luke Diamand <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7248672 commit 89f32a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

git-p4.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,11 +2099,11 @@ def run(self, args):
20992099

21002100
commits = []
21012101
if self.master:
2102-
commitish = self.master
2102+
committish = self.master
21032103
else:
2104-
commitish = 'HEAD'
2104+
committish = 'HEAD'
21052105

2106-
for line in read_pipe_lines(["git", "rev-list", "--no-merges", "%s..%s" % (self.origin, commitish)]):
2106+
for line in read_pipe_lines(["git", "rev-list", "--no-merges", "%s..%s" % (self.origin, committish)]):
21072107
commits.append(line.strip())
21082108
commits.reverse()
21092109

0 commit comments

Comments
 (0)