* [PATCH] hg-to-git: fix COMMITTER type-o
@ 2010-01-09 0:54 Bart Trojanowski
2010-01-12 11:16 ` Stelian Pop
0 siblings, 1 reply; 3+ messages in thread
From: Bart Trojanowski @ 2010-01-09 0:54 UTC (permalink / raw)
To: git; +Cc: bart, Stelian Pop
This script passes the author and committer to git-commit via environment
variables, but it was missing the seccond T of COMMITTER in a few places.
Signed-off-by: Bart Trojanowski <bart@jukie.net>
---
contrib/hg-to-git/hg-to-git.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/contrib/hg-to-git/hg-to-git.py b/contrib/hg-to-git/hg-to-git.py
index 2a6839d..854cd94 100755
--- a/contrib/hg-to-git/hg-to-git.py
+++ b/contrib/hg-to-git/hg-to-git.py
@@ -59,14 +59,14 @@ def getgitenv(user, date):
elems = re.compile('(.*?)\s+<(.*)>').match(user)
if elems:
env += 'export GIT_AUTHOR_NAME="%s" ;' % elems.group(1)
- env += 'export GIT_COMMITER_NAME="%s" ;' % elems.group(1)
+ env += 'export GIT_COMMITTER_NAME="%s" ;' % elems.group(1)
env += 'export GIT_AUTHOR_EMAIL="%s" ;' % elems.group(2)
- env += 'export GIT_COMMITER_EMAIL="%s" ;' % elems.group(2)
+ env += 'export GIT_COMMITTER_EMAIL="%s" ;' % elems.group(2)
else:
env += 'export GIT_AUTHOR_NAME="%s" ;' % user
- env += 'export GIT_COMMITER_NAME="%s" ;' % user
+ env += 'export GIT_COMMITTER_NAME="%s" ;' % user
env += 'export GIT_AUTHOR_EMAIL= ;'
- env += 'export GIT_COMMITER_EMAIL= ;'
+ env += 'export GIT_COMMITTER_EMAIL= ;'
env += 'export GIT_AUTHOR_DATE="%s" ;' % date
env += 'export GIT_COMMITTER_DATE="%s" ;' % date
--
1.6.6.2.g9ad4f53
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] hg-to-git: fix COMMITTER type-o
2010-01-09 0:54 [PATCH] hg-to-git: fix COMMITTER type-o Bart Trojanowski
@ 2010-01-12 11:16 ` Stelian Pop
2010-01-13 6:56 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Stelian Pop @ 2010-01-12 11:16 UTC (permalink / raw)
To: Bart Trojanowski; +Cc: git
Hi Bart,
On Fri, Jan 08, 2010 at 07:54:39PM -0500, Bart Trojanowski wrote:
> This script passes the author and committer to git-commit via environment
> variables, but it was missing the seccond T of COMMITTER in a few places.
>
> Signed-off-by: Bart Trojanowski <bart@jukie.net>
FWIW:
Acked-by: Stelian Pop <stelian@popies.net>
Thanks!
Stelian.
--
Stelian Pop <stelian@popies.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] hg-to-git: fix COMMITTER type-o
2010-01-12 11:16 ` Stelian Pop
@ 2010-01-13 6:56 ` Junio C Hamano
0 siblings, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2010-01-13 6:56 UTC (permalink / raw)
To: Stelian Pop; +Cc: Bart Trojanowski, git
Thanks both of you.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-01-13 6:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-09 0:54 [PATCH] hg-to-git: fix COMMITTER type-o Bart Trojanowski
2010-01-12 11:16 ` Stelian Pop
2010-01-13 6:56 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).