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

2 messages from 2007-10-09 to 2007-10-09. Participants: Marius Storm-Olsen, Simon Hausmann.
Thread: https://gitlist.dev/t/10216

## Marius Storm-Olsen, 2007-10-09 14:16

Subject: [PATCH] Add 'git-p4 commit' as an alias for 'git-p4 submit'
Message-ID: <1191939369-18811-1-git-send-email-marius@trolltech.com>
URL: https://gitlist.dev/e/1191939369-18811-1-git-send-email-marius%40trolltech.com

```
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(-)

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, 2007-10-09 19:08

Subject: Re: [PATCH] Add 'git-p4 commit' as an alias for 'git-p4 submit'
Message-ID: <200710092108.56348.simon@lst.de>
URL: https://gitlist.dev/e/200710092108.56348.simon%40lst.de
In-Reply-To: <1191939369-18811-1-git-send-email-marius@trolltech.com>

```
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

```
