Code

Add 'git-p4 commit' as an alias for 'git-p4 submit'
authorMarius Storm-Olsen <marius@trolltech.com>
Tue, 9 Oct 2007 14:16:09 +0000 (16:16 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 16 Oct 2007 01:30:31 +0000 (21:30 -0400)
Given that git uses 'commit', git-p4's 'sumbit' was a bit confusing at times;
often making me do 'git submit' and 'git-p4 commit' instead.

Signed-off-by: Marius Storm-Olsen <marius@trolltech.com>
Acked-By: Simon Hausmann <simon@lst.de>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
contrib/fast-import/git-p4

index 557649a14ad0e3a7ab4d0f1b9b128d1ba64d0757..52cd2a46ba839c4d83af13d0ec0553be05e0eb6d 100755 (executable)
@@ -1651,6 +1651,7 @@ def printUsage(commands):
 commands = {
     "debug" : P4Debug,
     "submit" : P4Submit,
+    "commit" : P4Submit,
     "sync" : P4Sync,
     "rebase" : P4Rebase,
     "clone" : P4Clone,