* suspicious ALSA empty commit
@ 2007-10-16 22:50 David Miller
2007-10-16 23:26 ` Linus Torvalds
0 siblings, 1 reply; 9+ messages in thread
From: David Miller @ 2007-10-16 22:50 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds, krzysztof.h1, perex
While scanning over today's updates in Linus's tree, I noticed
the following commit has no changes, and this does not appear
to be intentional.
Someone should check it out.
commit e31b6656a81d6332cdf6af17d38a0573128a6aac
Author: Krzysztof Helt <krzysztof.h1@wp.pl>
Date: Tue Oct 16 14:54:58 2007 +0200
[ALSA] This simplifies and fixes waiting loops of the mce_down()
function after Trent Piepho's patch for AD1848.
It also makes busy_wait() function call not atomic.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: suspicious ALSA empty commit
2007-10-16 22:50 suspicious ALSA empty commit David Miller
@ 2007-10-16 23:26 ` Linus Torvalds
2007-10-16 23:29 ` David Miller
2007-10-17 6:12 ` Jaroslav Kysela
0 siblings, 2 replies; 9+ messages in thread
From: Linus Torvalds @ 2007-10-16 23:26 UTC (permalink / raw)
To: David Miller; +Cc: linux-kernel, krzysztof.h1, perex
On Tue, 16 Oct 2007, David Miller wrote:
>
> While scanning over today's updates in Linus's tree, I noticed
> the following commit has no changes, and this does not appear
> to be intentional.
Interesting. You're right, I didn't notice.
Git shouldn't even allow such commits to be generated, although you can
force it by using the low-level functionality (eg using "git commit-tree"
directly for doing things like importing)
Linus
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: suspicious ALSA empty commit
2007-10-16 23:26 ` Linus Torvalds
@ 2007-10-16 23:29 ` David Miller
2007-10-17 6:12 ` Jaroslav Kysela
1 sibling, 0 replies; 9+ messages in thread
From: David Miller @ 2007-10-16 23:29 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, krzysztof.h1, perex
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: Tue, 16 Oct 2007 16:26:43 -0700 (PDT)
> Git shouldn't even allow such commits to be generated, although you can
> force it by using the low-level functionality (eg using "git commit-tree"
> directly for doing things like importing)
That would be useful, I think it is a common error when
importing and exporting patches.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: suspicious ALSA empty commit
2007-10-16 23:26 ` Linus Torvalds
2007-10-16 23:29 ` David Miller
@ 2007-10-17 6:12 ` Jaroslav Kysela
2007-10-17 15:55 ` Linus Torvalds
1 sibling, 1 reply; 9+ messages in thread
From: Jaroslav Kysela @ 2007-10-17 6:12 UTC (permalink / raw)
To: Linus Torvalds; +Cc: David Miller, linux-kernel, krzysztof.h1
On Tue, 16 Oct 2007, Linus Torvalds wrote:
> On Tue, 16 Oct 2007, David Miller wrote:
> >
> > While scanning over today's updates in Linus's tree, I noticed
> > the following commit has no changes, and this does not appear
> > to be intentional.
>
> Interesting. You're right, I didn't notice.
I didn't notice, too. I've fixed this commit in my git tree.
Linus, please pull from [the linus branch at]:
master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa.git linus
gitweb interface:
http://www.kernel.org/git/?p=linux/kernel/git/perex/alsa.git
Thanks,
Jaroslav
-----
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: suspicious ALSA empty commit
2007-10-17 6:12 ` Jaroslav Kysela
@ 2007-10-17 15:55 ` Linus Torvalds
2007-10-17 17:39 ` Jaroslav Kysela
0 siblings, 1 reply; 9+ messages in thread
From: Linus Torvalds @ 2007-10-17 15:55 UTC (permalink / raw)
To: Jaroslav Kysela; +Cc: David Miller, linux-kernel, krzysztof.h1
On Wed, 17 Oct 2007, Jaroslav Kysela wrote:
>
> I didn't notice, too. I've fixed this commit in my git tree.
More importantly, how did it get there in the first place?
As mentioned, normal git tools will not even *allow* you to create an
empty commit by default! So you must be using some really strange workflow
to get an empty commit, or be triggering a git bug, both of which should
be resolved first.
Linus
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: suspicious ALSA empty commit
2007-10-17 15:55 ` Linus Torvalds
@ 2007-10-17 17:39 ` Jaroslav Kysela
2007-10-17 17:58 ` Linus Torvalds
2007-10-19 19:19 ` Mauro Carvalho Chehab
0 siblings, 2 replies; 9+ messages in thread
From: Jaroslav Kysela @ 2007-10-17 17:39 UTC (permalink / raw)
To: Linus Torvalds; +Cc: David Miller, linux-kernel, krzysztof.h1
On Wed, 17 Oct 2007, Linus Torvalds wrote:
> On Wed, 17 Oct 2007, Jaroslav Kysela wrote:
> >
> > I didn't notice, too. I've fixed this commit in my git tree.
>
> More importantly, how did it get there in the first place?
>
> As mentioned, normal git tools will not even *allow* you to create an
> empty commit by default! So you must be using some really strange workflow
> to get an empty commit, or be triggering a git bug, both of which should
> be resolved first.
I'm using stg on top of git for merging and easy tree rebasing, but the
version might be old (I'll try upgrade at first):
Stacked GIT 0.12
git version 1.5.0.3
stg import / refresh / pick commands are on way to move patches to linus
branch.
Jaroslav
-----
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: suspicious ALSA empty commit
2007-10-17 17:39 ` Jaroslav Kysela
@ 2007-10-17 17:58 ` Linus Torvalds
2007-10-17 20:19 ` Catalin Marinas
2007-10-19 19:19 ` Mauro Carvalho Chehab
1 sibling, 1 reply; 9+ messages in thread
From: Linus Torvalds @ 2007-10-17 17:58 UTC (permalink / raw)
To: Jaroslav Kysela
Cc: David Miller, Linux Kernel Mailing List, krzysztof.h1, Catalin Marinas
On Wed, 17 Oct 2007, Jaroslav Kysela wrote:
>
> I'm using stg on top of git for merging and easy tree rebasing, but the
> version might be old (I'll try upgrade at first):
Ahh. That may explain it. stg may well be using the low-level git internal
commands (which *do* allow you to create any kind of commits you want,
including bogus empty ones).
Catalin?
Linus
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: suspicious ALSA empty commit
2007-10-17 17:58 ` Linus Torvalds
@ 2007-10-17 20:19 ` Catalin Marinas
0 siblings, 0 replies; 9+ messages in thread
From: Catalin Marinas @ 2007-10-17 20:19 UTC (permalink / raw)
To: Linus Torvalds
Cc: Jaroslav Kysela, David Miller, Linux Kernel Mailing List, krzysztof.h1
On 17/10/2007, Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Wed, 17 Oct 2007, Jaroslav Kysela wrote:
> > I'm using stg on top of git for merging and easy tree rebasing, but the
> > version might be old (I'll try upgrade at first):
>
> Ahh. That may explain it. stg may well be using the low-level git internal
> commands (which *do* allow you to create any kind of commits you want,
> including bogus empty ones).
StGIT indeed creates empty commits (don't think there is anything
wrong with that specific version). Even the most basic command, "stg
new", creates an empty commit which is than filled with changes via
"stg refresh". Pushing patches may result in empty commits if a patch
was merged upstream. Failing import also leaves an empty commit if the
patch doesn't apply cleanly (and there is a .stgit-failed.patch file
left).
The "stg series -e" shows the empty patches and "stg clean" removes
them but I wouldn't do this automatically as empty patches are allowed
in StGIT, though in general for a limited time. I'll try to add
warning/error to commands like "mail" or "export" to make the user
aware.
--
Catalin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: suspicious ALSA empty commit
2007-10-17 17:39 ` Jaroslav Kysela
2007-10-17 17:58 ` Linus Torvalds
@ 2007-10-19 19:19 ` Mauro Carvalho Chehab
1 sibling, 0 replies; 9+ messages in thread
From: Mauro Carvalho Chehab @ 2007-10-19 19:19 UTC (permalink / raw)
To: Jaroslav Kysela; +Cc: Linus Torvalds, David Miller, linux-kernel, krzysztof.h1
> I'm using stg on top of git for merging and easy tree rebasing, but the
> version might be old (I'll try upgrade at first):
>
> Stacked GIT 0.12
> git version 1.5.0.3
>
> stg import / refresh / pick commands are on way to move patches to linus
with stgit, you should add stg clean on your workflow. This will remove the
empty commits.
--
Cheers,
Mauro
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-10-19 19:19 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-16 22:50 suspicious ALSA empty commit David Miller
2007-10-16 23:26 ` Linus Torvalds
2007-10-16 23:29 ` David Miller
2007-10-17 6:12 ` Jaroslav Kysela
2007-10-17 15:55 ` Linus Torvalds
2007-10-17 17:39 ` Jaroslav Kysela
2007-10-17 17:58 ` Linus Torvalds
2007-10-17 20:19 ` Catalin Marinas
2007-10-19 19:19 ` Mauro Carvalho Chehab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®