threads / patch / 10216

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

Subject: [PATCH] Add 'git-p4 commit' as an alias for 'git-p4 submit'

## tl;dr

2 messages between Oct 9, 2007 and Oct 9, 2007. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Marius Storm-Olsen· Oct 9, 2007, 14:16 UTC · lore

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>
---
 contrib/fast-import/git-p4 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Show changes to contrib/fast-import/git-p4 +1 −0
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4
index 557649a..52cd2a4 100755
--- a/contrib/fast-import/git-p4
+++ b/contrib/fast-import/git-p4
@@ -1651,6 +1651,7 @@ def printUsage(commands):
 commands = {
     "debug" : P4Debug,
     "submit" : P4Submit,
+    "commit" : P4Submit,
     "sync" : P4Sync,
     "rebase" : P4Rebase,
     "clone" : P4Clone,
-- 
1.5.3.4.1155.gfe96ee-dirty
Simon Hausmann· Oct 9, 2007, 19:08 UTC · re: Marius Storm-Olsen · lore

Re: [PATCH] Add 'git-p4 commit' as an alias for 'git-p4 submit'

On Tuesday 09 October 2007 16:16:09 Marius Storm-Olsen wrote:
> 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>
Simon

← back to recent threads