From: Len Brown <len.brown@intel.com>
To: git@vger.kernel.org
Subject: new file leaked onto release branch
Date: Wed, 14 Dec 2005 02:57:03 -0500 [thread overview]
Message-ID: <200512140257.03975.len.brown@intel.com> (raw)
I'm suspecting that this issue is technically a pilot error of me issuing
git-updated-index at the wrong time, but perhaps the list
should be aware of this type of issue. And perhaps somebody
can suggest a better work flow that is immune to this?
Somehow a new file leaked from my "acpica" branch onto my "release" branch
without me pulling "acpica" into "release".
I use the latest git and I follow Tony's Documentation/howto/using-topic-branches.txt.
The new file, rsinfo.c, was added in one of the patches in the acpi branch,
but then was sucked into the release branch in this commit:
9115a6c787596e687df03010d97fccc5e0762506
which is on the release.broken branch of this tree:
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git
Even though the file didn't exist on either of the parents of the merge.
I think I probably did a git-update-index while working on the acpica
branch, and then git remembered that while I was on the release branch
doing a routine pull from linus to make sure I was up-to-date before
doing a push to kernel.org.
why did I do this?
I use quilt to manage a stack of patches in my repo.
I like to build them on several build machines (i386, x86_64, ia64)
before doing a git commit.
I package up a tar-file for the remote machines with
git-tar-tree $BRANCH $REPO | gzip -1 > $TARFILE
But I still need to generate a patch containing all the local
changes that I haven't checked into git yet.
git diff > my.patch
does this for me. But when it failed to pick up a new file,
I manually did a git-update-index --add IIR, and that seems
to be how rsinfo.c got sucked into the subsequent git pull from linus.
perhaps somebody has a better idiom for packaging up a current
working tree for a remote build machine to crunch on it?
thanks,
-Len
next reply other threads:[~2005-12-14 7:53 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-14 7:57 Len Brown [this message]
2005-12-14 8:37 ` new file leaked onto release branch Junio C Hamano
2005-12-14 9:39 ` Junio C Hamano
2005-12-14 16:26 ` Linus Torvalds
2005-12-14 16:53 ` Linus Torvalds
-- strict thread matches above, loose matches on Subject: below --
2005-12-14 9:41 Brown, Len
2005-12-14 9:58 Brown, Len
2005-12-14 18:27 Brown, Len
2005-12-14 19:20 Brown, Len
2005-12-14 20:10 ` Linus Torvalds
2005-12-18 7:08 ` Junio C Hamano
2005-12-14 20:45 ` Junio C Hamano
2005-12-14 21:26 ` Tom Prince
2005-12-14 21:31 Brown, Len
2005-12-14 21:51 Brown, Len
2005-12-14 22:06 Brown, Len
2005-12-14 22:16 ` Junio C Hamano
2005-12-14 22:48 Brown, Len
2005-12-14 23:34 ` Johannes Schindelin
2005-12-15 0:37 ` Junio C Hamano
2005-12-15 1:29 ` Johannes Schindelin
2005-12-19 3:21 Brown, Len
2005-12-19 9:16 ` Junio C Hamano
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=200512140257.03975.len.brown@intel.com \
--to=len.brown@intel.com \
--cc=git@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).