Merge branch 'ld/p4-unshelve'
[git/git.git] / git-p4.py
index 74d58af..18bdd42 100755 (executable)
--- a/git-p4.py
+++ b/git-p4.py
@@ -2110,11 +2110,11 @@ class P4Submit(Command, P4UserMap):
 
         commits = []
         if self.master:
 
         commits = []
         if self.master:
-            commitish = self.master
+            committish = self.master
         else:
         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()
 
             commits.append(line.strip())
         commits.reverse()