submodule deinit: unset core.worktree
[gitweb.git] / git-p4.py
index 74d58afad34ab012e33dbadc491c52e47a812a41..18bdd4228ba71e9b7c3d33a61d50f0da7fac84e7 100755 (executable)
--- a/git-p4.py
+++ b/git-p4.py
@@ -2110,11 +2110,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()