linux-next: Fixes tag needs some work in the usb-gadget tree
Hi all,
In commit
6a6ae4e8e926 ("usb: gadget: f_ncm: Use atomic_t to track in-flight request")
Fixes tag
has these problem(s):
- Subject has leading but no trailing parentheses
- Subject has leading but no trailing quotes
Please do not split Fixes tags over more than one line. Also, please keep all the commit message tags together at the end of the commit message.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 9 lines · Stephen Rothwell
Hi all,
In commit
6a6ae4e8e926("usb: gadget:f_ncm: Useatomic_tto track in-flight request")Fixes tag
Fixes 40d133d7f5426 ("usb: gadget: f_ncm: convert to new function interface
How should extra long fixes like this be divided up ?
interface with backward compatibility")
?
I don't see that for fixes like these.
---
bod
Hi Bryan,
Quoted 2 lines · On Thu, 16 Jan 2020 01:19:22 +0000 Bryan O'Donoghue…
How should extra long fixes like this be divided up ?
Just let them run on even if they are too long i.e. don't split them at all.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 7 lines · Stephen Rothwell
Hi Bryan,
Quoted 2 lines · On Thu, 16 Jan 2020 01:19:22 +0000 Bryan O'Donoghue…
How should extra long fixes like this be divided up ?
Just let them run on even if they are too long i.e. don't split them at all.
That's what's in the git commit log though isn't it ?
Hi Bryan,
Quoted 11 lines · On Thu, 16 Jan 2020 01:45:25 +0000 Bryan O'Donoghue…
Quoted 7 lines · Stephen Rothwell
Hi Bryan,
Quoted 2 lines · On Thu, 16 Jan 2020 01:19:22 +0000 Bryan O'Donoghue…
How should extra long fixes like this be divided up ?
Just let them run on even if they are too long i.e. don't split them at all.
That's what's in the git commit log though isn't it ?
When you add a Fixes: tag to a commit, you quote the subject line of the commit you are fixing which, by definition, is a single line. We want to keep it that way so it can be searched for easily.
So to create a fixes line you can use this:
git log -1 --format='Fixes: %h ("%s")' <commit being fixed>
i.e. in this case:
$ git log -1 --format='Fixes: %h (\"%s\")' 40d133d7f5426
Fixes: 40d133d7f542 ("usb: gadget: f_ncm: convert to new function interface with backward compatibility")Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 19 lines · Stephen Rothwell
Hi Bryan,
Quoted 11 lines · On Thu, 16 Jan 2020 01:45:25 +0000 Bryan O'Donoghue…
Quoted 7 lines · Stephen Rothwell
Hi Bryan,
Quoted 2 lines · On Thu, 16 Jan 2020 01:19:22 +0000 Bryan O'Donoghue…
How should extra long fixes like this be divided up ?
Just let them run on even if they are too long i.e. don't split them at all.
That's what's in the git commit log though isn't it ?
When you add a Fixes: tag to a commit, you quote the subject line of the commit you are fixing which, by definition, is a single line. We want to keep it that way so it can be searched for easily.
Quoted 9 lines
So to create a fixes line you can use this:
git log -1 --format='Fixes: %h ("%s")' <commit being fixed>
i.e. in this case:
$ git log -1 --format='Fixes: %h (\"%s\")' 40d133d7f5426 Fixes: 40d133d7f542 ("usb: gadget: f_ncm: convert to new function interface with backward compatibility")
doh sorry still not seeing it
git remote -v
usb-next git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git (fetch)
git fetch usb-next
git show 5b24c28cfe13
that's a correctly formatted fixes right i.e. the same one as above
:(
not seeing the difference...
---
bod
Hi Bryan,
Quoted 36 lines · On Thu, 16 Jan 2020 02:08:55 +0000 Bryan O'Donoghue…
Quoted 18 lines · Stephen Rothwell
Quoted 11 lines · On Thu, 16 Jan 2020 01:45:25 +0000 Bryan O'Donoghue…
Quoted 7 lines · Stephen Rothwell
Hi Bryan,
Quoted 2 lines · On Thu, 16 Jan 2020 01:19:22 +0000 Bryan O'Donoghue…
How should extra long fixes like this be divided up ?
Just let them run on even if they are too long i.e. don't split them at all.
That's what's in the git commit log though isn't it ?
When you add a Fixes: tag to a commit, you quote the subject line of the commit you are fixing which, by definition, is a single line. We want to keep it that way so it can be searched for easily.
Quoted 9 lines
So to create a fixes line you can use this:
git log -1 --format='Fixes: %h ("%s")' <commit being fixed>
i.e. in this case:
$ git log -1 --format='Fixes: %h (\"%s\")' 40d133d7f5426 Fixes: 40d133d7f542 ("usb: gadget: f_ncm: convert to new function interface with backward compatibility")doh sorry still not seeing it
git remote -v
usb-nextgit://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
(fetch)
Quoted 8 lines
git fetch usb-next
git show5b24c28cfe13that's a correctly formatted fixes right i.e. the same one as above
:(
not seeing the difference...
Now I see our confusion. There is another version of this patch in Felipe's tree as a different commit (6a6ae4e8e926) which has the Fixes tag split ...
Signature · 2 lines
Cheers, Stephen Rothwell
Hi
Quoted 44 lines · Stephen Rothwell
Hi Bryan,
Quoted 41 lines · On Thu, 16 Jan 2020 02:08:55 +0000 Bryan O'Donoghue…
Quoted 18 lines · Stephen Rothwell
Quoted 11 lines · On Thu, 16 Jan 2020 01:45:25 +0000 Bryan O'Donoghue…
Quoted 7 lines · Stephen Rothwell
Hi Bryan,
Quoted 2 lines · On Thu, 16 Jan 2020 01:19:22 +0000 Bryan O'Donoghue…
How should extra long fixes like this be divided up ?
Just let them run on even if they are too long i.e. don't split them at all.
That's what's in the git commit log though isn't it ?
When you add a Fixes: tag to a commit, you quote the subject line of the commit you are fixing which, by definition, is a single line. We want to keep it that way so it can be searched for easily.
Quoted 9 lines
So to create a fixes line you can use this:
git log -1 --format='Fixes: %h ("%s")' <commit being fixed>
i.e. in this case:
$ git log -1 --format='Fixes: %h (\"%s\")' 40d133d7f5426 Fixes: 40d133d7f542 ("usb: gadget: f_ncm: convert to new function interface with backward compatibility")doh sorry still not seeing it
git remote -v
usb-nextgit://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
(fetch)git fetch usb-next
git show5b24c28cfe13that's a correctly formatted fixes right i.e. the same one as above
Quoted 7 lines
Quoted 3 lines
:(
not seeing the difference...
Now I see our confusion. There is another version of this patch in Felipe's tree as a different commit (
6a6ae4e8e926) which has the Fixes tag split ...
Right, Greg applied my tree as patches to fix this problem. I need to rebase my tree on Greg's to get rid of this problem.
Signature · 1 line
balbi