All of lore.kernel.org
 help / color / mirror / Atom feed
From: Don Imus <donimus@gmail.com>
To: linux-mips@linux-mips.org
Subject: Rogue Branch - can git help here?
Date: Thu, 09 Feb 2006 22:09:40 -0500	[thread overview]
Message-ID: <43EC03F4.4040805@gmail.com> (raw)

I've got an old Linux 2.4.18 source tree I downloaded from a vendor who 
sells devices using MIPS processors with embedded Linux running on them.

There are clearly places in the code where the vendor has made changes. 
  Unfotunately, the vendor used their own CVS and every tagged file 
shows revision 1.1.1.1.

Can GIT help me determine on which date the vendor's tree was originally 
pulled?

I thought of a script call GIT to diff the file against all revisions in 
the repo, possibly creating patch files, and then I could look at the 
number of changes for each as a measure of "closeness".  Doing this for 
several files and finding commonality in the dates would increase the 
probability of finding the right one.

If I copy the vendor source tree into the local GIT tree and commit a 
new branch are there any facilitites in GIT that would tell me which 
older revision, prior to a given date, is the best "match" on the files 
in the tree?

I just started using GIT and maybe the question is better for the GIT 
mailing list but I figured I'd ask it here first and see if anyone has 
already done something like this.

In case anyone's wondering the device ships with a binary-only device 
driver module that will only work with a 2.4.18 kernel and that's why 
I'm stuck in the past on this.

             reply	other threads:[~2006-02-10  3:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10  3:09 Don Imus [this message]
2006-02-10 11:55 ` Rogue Branch - can git help here? Ralf Baechle

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=43EC03F4.4040805@gmail.com \
    --to=donimus@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.