Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Kaz Kylheku <kaz@zeugmasystems.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Version control question.
Date: Fri, 11 Aug 2006 23:32:14 +0100	[thread overview]
Message-ID: <20060811223214.GA5811@linux-mips.org> (raw)
In-Reply-To: <66910A579C9312469A7DF9ADB54A8B7D33AFE9@exchange.ZeugmaSystems.local>

On Fri, Aug 11, 2006 at 02:31:49PM -0700, Kaz Kylheku wrote:

> Is there any document that makes the linux-mips configuration management
> structure more obvious?

There is http://www.linux-mips.org/wiki/Git.  If that doesn't answer
your questions, let me know what you're missing and if I find the time
I'll add it.  Or just add it yourself to the wiki.

> I see that the 2.6.16 and 2.6.17 lines are in fact parallel branches, so
> that 2.6.16.27 is newer than 2.6.17.

Right.

> If something is broken in 2.6.17 but isn't in 2.6.16.27, what's the best
> way to find it?

You can use git bisect to do that on a clean that is unmodified tree:

$ git bisect start
$ git bisect bad linux-2.6.17
$ git bisect good linux-2.6.16.27

git will then checkout a tree that is about in the middle between the
good and bad version.  Build and test it, then either tell git

$ git bisect good

or

$ git bisect bad

depending on the outcome of your test.  Continue you've shurnk the
interval to a single version which is when git will tell you which
commit broke things.

Once you're finished you tell git to cleanup the tree from all the
bisecting stuff:

$ git bisect reset

> Just compare 2.6.16.27 to the closest parallel 2.6.17.x to see what the
> differences are?

git bisect is handy for finding a change even for relative beginners,
while starring at a diff is often much faster.  You can get a diff
between two tagged versions in git like:

$ git diff linux-2.6.16.27..linux-2.6.17

  Ralf

      parent reply	other threads:[~2006-08-11 22:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-11 21:31 Version control question Kaz Kylheku
2006-08-11 21:31 ` Kaz Kylheku
2006-08-11 22:32 ` Ralf Baechle [this message]

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=20060811223214.GA5811@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=kaz@zeugmasystems.com \
    --cc=linux-mips@linux-mips.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