From: "Catalin Marinas" <catalin.marinas@gmail.com>
To: "Linus Torvalds" <torvalds@linux-foundation.org>
Cc: "Jaroslav Kysela" <perex@perex.cz>,
"David Miller" <davem@davemloft.net>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
krzysztof.h1@wp.pl
Subject: Re: suspicious ALSA empty commit
Date: Wed, 17 Oct 2007 21:19:39 +0100 [thread overview]
Message-ID: <b0943d9e0710171319n180f05f1ta391e972a6a7efe9@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.0.999.0710171057090.26902@woody.linux-foundation.org>
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
next prev parent reply other threads:[~2007-10-17 20:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-16 22:50 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 [this message]
2007-10-19 19:19 ` Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b0943d9e0710171319n180f05f1ta391e972a6a7efe9@mail.gmail.com \
--to=catalin.marinas@gmail.com \
--cc=davem@davemloft.net \
--cc=krzysztof.h1@wp.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®