diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2018-05-10 12:43:00 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-11 12:09:55 +0900 |
commit | 89f32a92b4f04ab93fc52ef16fa628cbb2bddd7d (patch) | |
tree | 65189bd93f14f1acb24cad17864393a5206d1788 /git-p4.py | |
parent | 7248672947c8b88605f12f6a53b510bb9d9d4c37 (diff) | |
download | git-89f32a92b4f04ab93fc52ef16fa628cbb2bddd7d.tar.gz |
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 <avarab@gmail.com>
Acked-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-p4.py')
-rwxr-xr-x | git-p4.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2099,11 +2099,11 @@ class P4Submit(Command, P4UserMap): 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() |