From: Junio C Hamano <junkio@cox.net>
To: "Brown, Len" <len.brown@intel.com>
Cc: "Linus Torvalds" <torvalds@osdl.org>,
"Junio C Hamano" <junkio@cox.net>, <git@vger.kernel.org>
Subject: Re: new file leaked onto release branch
Date: Wed, 14 Dec 2005 12:45:51 -0800 [thread overview]
Message-ID: <7virtrxv9c.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <F7DC2337C7631D4386A2DF6E8FB22B30056B83F2@hdsmsx401.amr.corp.intel.com> (Len Brown's message of "Wed, 14 Dec 2005 14:20:04 -0500")
"Brown, Len" <len.brown@intel.com> writes:
> Should I be using something different than git merge?
> is Documentation/howto/using-topic-branches out of date?
I reviewed it once again right now. The document claims to be
last updated for 0.99.9f, but I do not see anything outdated in
there for the latest. Tony's procedure looks valid [*1*], so do
the scripts you sent in this thread.
Sorry, but I do not seem to be able to spot anything obviously
wrong with your troubled commits nor scripts. I'll do some more
digging, including rewinding to an older git and trying them,
but I am pessimistic.
I pointed out one anomaly which is the commit should never have
been created because it was not even a fast forward but already
up-to-date case, and it was followed up with exchange of a few
messages between Linus and you. But even if we got that mixed
up, the resulting merge should not have contained the file
neither parents had. That part worries me the most.
One question. You mentioned these in your message, you have
a "git.commit wrapper" that contains these lines:
git-update-index --add --remove `quilt files`
git commit
I am not familiar with 'quilt', but is "quilt files" the command
to show the list of files with patches applied to the working
tree?
If so, the above do tell git about the modified (including added
or removed) files that the applied quilt patches touch, which
sounds like the correct thing to do.
But the resulting commit from that procedure would not be a
merge commit, and the commit in question that had the rsinfo
file magically appeared from nowhere is a merge, so this does
not seem to have much to do with the current problem...
Still puzzlled, sorry.
[Footnote]
*1* Except that the rsync transport is probably suboptimal for
people who stay reasonably up-to-date with Linus and I would
apply the following change if I were Tony, but that shouldn't
have anything to do with the trouble we are discussing here.
---
diff --git a/Documentation/howto/using-topic-branches.txt b/Documentation/howto/using-topic-branches.txt
index 4698abe..4944297 100644
--- a/Documentation/howto/using-topic-branches.txt
+++ b/Documentation/howto/using-topic-branches.txt
@@ -31,7 +31,7 @@ test tree and then pull to the release t
patches blocked in the test tree waiting for complex changes to accumulate
enough test time to graduate.
-Back in the BitKeeper days I achieved this my creating small forests of
+Back in the BitKeeper days I achieved this by creating small forests of
temporary trees, one tree for each logical grouping of patches, and then
pulling changes from these trees first to the test tree, and then to the
release tree. At first I replicated this in GIT, but then I realised
@@ -42,7 +42,8 @@ So here is the step-by-step guide how th
First create your work tree by cloning Linus's public tree:
- $ git clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git work
+ $ git clone \
+ master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git work
Change directory into the cloned tree you just created
@@ -52,7 +53,7 @@ Set up a remotes file so that you can fe
branch into a local branch named "linus":
$ cat > .git/remotes/linus
- URL: rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
+ URL: master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Pull: master:linus
^D
next prev parent reply other threads:[~2005-12-14 20:46 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-14 19:20 new file leaked onto release branch 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 [this message]
2005-12-14 21:26 ` Tom Prince
-- strict thread matches above, loose matches on Subject: below --
2005-12-19 3:21 Brown, Len
2005-12-19 9: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-14 22:06 Brown, Len
2005-12-14 22:16 ` Junio C Hamano
2005-12-14 21:51 Brown, Len
2005-12-14 21:31 Brown, Len
2005-12-14 18:27 Brown, Len
2005-12-14 9:58 Brown, Len
2005-12-14 9:41 Brown, Len
2005-12-14 7:57 Len Brown
2005-12-14 8:37 ` 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
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=7virtrxv9c.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=len.brown@intel.com \
--cc=torvalds@osdl.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).