Skip to contentSkip to conversation

Add 'git-p4 commit' as an alias for 'git-p4 submit'

PATCH In review Marius Storm-Olsen 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add 'git-p4 commit' as an alias for 'git-p4 submit'

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.

---
 contrib/fast-import/git-p4 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
contrib/fast-import/git-p4 +1 -0
index 557649a..52cd2a4 100755
@@ -1651,6 +1651,7 @@ def printUsage(commands):
 commands = {
     "debug" : P4Debug,
     "submit" : P4Submit,
+    "commit" : P4Submit,
     "sync" : P4Sync,
     "rebase" : P4Rebase,
     "clone" : P4Clone,
Signature · 1 line
1.5.3.4.1155.gfe96ee-dirty