threads / discuss / 17508

duplicate sign-off-by error

Subject: duplicate sign-off-by error

## tl;dr

4 messages between Feb 2, 2009 and Feb 2, 2009.

replies: 3people: 2as markdown or json

Sharib Khan· Feb 2, 2009, 17:22 UTC · lore

I m getting a Duplicate Sign-off by error when trying to commit to the repository. I am using git 1.5.6 on solaris

what is this error related to and how can it be resolved.
Boyd Stephen Smith Jr.· Feb 2, 2009, 20:04 UTC · re: Sharib Khan · lore

Re: duplicate sign-off-by error

On Monday 02 February 2009 11:22:36 Sharib Khan wrote:
> I m getting a Duplicate Sign-off by error when trying to commit to 
the
> repository.
> I am using git 1.5.6 on solaris
>
> what is this error related to and how can it be resolved.
It's looking for lines in the commit message like:
Signed-off-by: Joe Hacker <jhacker@uni.edu>
and seeing duplication.  Remove the duplication and try again.

If you can't see the duplication, please try to put together a series operations we can preform to reproduce your error.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss@iguanasuicide.net                     ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.net/                      \_/     
Sharib Khan· Feb 2, 2009, 20:16 UTC · re: Boyd Stephen Smith Jr. · lore

Re: duplicate sign-off-by error

On Feb 2, 2009, at 3:04 PM, Boyd Stephen Smith Jr. wrote:
Show 11 quoted lines
> On Monday 02 February 2009 11:22:36 Sharib Khan wrote:
>> I m getting a Duplicate Sign-off by error when trying to commit to
> the
>> repository.
>> I am using git 1.5.6 on solaris
>>
>> what is this error related to and how can it be resolved.
>
> It's looking for lines in the commit message like:
> Signed-off-by: Joe Hacker <jhacker@uni.edu>
>

but where are the commit messages stored - which file where i can find this is it the COMMIT_EDITMSG file ?

> and seeing duplication.  Remove the duplication and try again.
>
> If you can't see the duplication, please try to put together a series
> operations we can preform to reproduce your error.
series of operations is
1. change to the file
2. save the file
3. git commit -a -m "change message"
at which pt, i get the duplication error

is this something related to solaris or git crashing - the commit had worked earlier ?

thanks
sk
Show 7 quoted lines
>
> -- 
> Boyd Stephen Smith Jr.                     ,= ,-_-. =.
> bss@iguanasuicide.net                     ((_/)o o(\_))
> ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-'
> http://iguanasuicide.net/                      \_/
>
Boyd Stephen Smith Jr.· Feb 2, 2009, 20:28 UTC · re: Sharib Khan · lore

Re: duplicate sign-off-by error

On Monday 02 February 2009 14:16:30 you wrote:
> On Feb 2, 2009, at 3:04 PM, Boyd Stephen Smith Jr. wrote:
> > On Monday 02 February 2009 11:22:36 Sharib Khan wrote:
> >> I m getting a Duplicate Sign-off by error when trying to 
commit to
Show 6 quoted lines
> > the
> >> repository.
> >> I am using git 1.5.6 on solaris
> > It's looking for lines in the commit message like:
> > Signed-off-by: Joe Hacker <jhacker@uni.edu>
> but where are the commit messages stored - which file where i can 
find
> this
> is it the COMMIT_EDITMSG file ?
Usually.
> > If you can't see the duplication, please try to put together a 
series
Show 7 quoted lines
> > operations we can preform to reproduce your error.
>
> series of operations is
>
> 1. change to the file
> 2. save the file
> 3. git commit -a -m "change message"

This is *not* what I asked for. I asked for a series of operations *we* can perform to *reproduce* your error. If I do this here, it works (no error). The best way to give what I asked for is to start the series of operations with "git init" in an empty directory, but that's not the only way.

What if you just "git commit -a" as step 3? What is "the file"?

> is this something related to solaris or git crashing - the commit 
had
> worked earlier ?

Possibly. I can't look into it that much until I can reproduce it here.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss@iguanasuicide.net                     ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.net/                      \_/     

← back to recent threads