Skip to contentSkip to conversation

Patman bug report: Commit-notes not working

U-Boot Masahiro Yamada 2 participants 5 messages Aug 21, 2014 – Aug 24, 2014

lore
Share & tools
lore
#0 lore raw

Hi Simon,

I found 'Commit-notes:' is not working correctly. It seems a bit fatal. Could you fix it asap, please?

I bisected and the first bad commit is:

commit cda2a611520e679495e7d2cf8e436b0df9afc675
patman: Move the 'git log' command into a function

How to repeat the bug
---------------------

For example, assume we are trying to send a series which consists of two patches.

git log looks like this:

commit 757799f581ca366f26af6d9bbd52dccf90a162c1

Author: Masahiro Yamada <[email protected]>
Date:   Thu Aug 21 09:58:21 2014 +0900

bar: patch2

Commit-notes:

Blah Blah

END

commit 9ec777cd2ceeff2861cc38cea211440e4c1dea6b

Author: Masahiro Yamada <[email protected]>
Date:   Thu Aug 21 09:57:59 2014 +0900

foo: patch1

Commit-notes "Blah Blah" should belong to the second patch.

But when I run "tools/patman/patman -t -c 2",
I see the commit-notes moves to the first patch like follows:

#1 lore raw

[U-Boot] [URGENT] Fatal Bug of Patman

Hi Simon,

The problem seems more fatal than I expected at first.

Series-changes tag is not working either.

My git-log is as follows:

commit 9296e54147d8ee5917bbc1c7a2e9fa4b8ef106db

Author: Masahiro Yamada <[email protected]>
Date:   Fri Aug 22 18:37:29 2014 +0900

bar: commit 2

Series-changes: 2
- This is change log for the second commit

commit 1e0b0893ddc80d12d7ec23346d4eb5a1c15b2593

Author: Masahiro Yamada <[email protected]>
Date:   Fri Aug 22 18:36:20 2014 +0900

foo: commit1

Blah Blah.
Series-version: 2
Series-changes: 2
- This is change log for the first commit

"tools/patman/patman -t -c 2"
swaps the change log between 1/2 and 2/2.

#2 lore raw

[U-Boot] [URGENT] Fatal Bug of Patman

Hi Masahiro,

Quoted 6 lines · Masahiro Yamada

Hi Simon,

The problem seems more fatal than I expected at first.

Series-changes tag is not working either.

Do you have this patch?

http://patchwork.ozlabs.org/patch/380068/

Regards,
Simon

#3 lore raw

[U-Boot] [URGENT] Fatal Bug of Patman

In reply to Simon Glass

Hi Simon,

2014-08-23 10:39 GMT+09:00 Simon Glass <[email protected]>:

Quoted 5 lines

Hi Masahiro,

Quoted 2 lines · Masahiro Yamada

Hi Simon,

Quoted 9 lines
Quoted 4 lines

The problem seems more fatal than I expected at first.

Series-changes tag is not working either.

Do you have this patch?

http://patchwork.ozlabs.org/patch/380068/

No, I hadn't.

I confirmed the problem was fixed with this patch. (I don't see how this patch is related to the current problem. Its git-log only mentions it is necessary for buildman.)

Anyway, It should be appied asap, I think.

Best Regards
Masahiro Yamada

Signature · 2 lines
Best Regards
Masahiro Yamada