From: Kevin Hilman <khilman@deeprootsystems.com>
To: Peter Barada <peterb@logicpd.com>
Cc: Tony Lindgren <tony@atomide.com>,
linux-omap <linux-omap@vger.kernel.org>
Subject: Re: Problem trying to pull particular commit from PM tree
Date: Wed, 18 Nov 2009 14:46:45 -0800 [thread overview]
Message-ID: <87einvbgdm.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1258581497.750.57.camel@blitz> (Peter Barada's message of "Wed\, 18 Nov 2009 16\:58\:17 -0500")
Peter Barada <peterb@logicpd.com> writes:
> On Wed, 2009-11-18 at 08:57 -0800, Tony Lindgren wrote:
>> * Peter Barada <peterb@logicpd.com> [091118 06:20]:
>> > Is it possible to back up in time on the PM tree to find a particular
>> > commit, even across rebasings? I'm interested in the commit used by TI
>> > to base their AM3517 work on which is:
>> >
>> > [Commit:ef25c2a0e0]: OMAP3: PM: defconfig: enable SRF by default.
>> >
>> > I tried:
>> >
>> > git clone git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
>> > git checkout -b pm origin/pm
>> > git reset --hard ef25c2a0
>> >
>> > But that came back with:
>> >
>> > fatal: ambiguous argument 'ef25c2a0': unknown revision or path not in
>> > the working tree.
>> >
>> > My git 'fu' is pretty weak. Any ideas why this doesn't work?
>> > Thanks in advance!
>>
>> Maybe ef25c2a0e0 is some TI internal commit?
>
> I wouldn't think so. Their comment in the release notes is:
>
> This release package includes a series of patches on top of the "pm"
> branch maintained at
> "http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=shortlog;h=pm". Baseline: [Commit:ef25c2a0e0]: OMAP3: PM: defconfig: enable SRF by default.
>
> 1) How can I search the linux-omap git world to see if the commit string
> exists?
>
> 2) When trees are rebased, are the previous commits in the tree lost -
> i.e. if tree A has commits A', A'', etc, and is rebased on tree B(which
> does not have the commits A', A'' in it), are the commits A', A'', etc
> lost?
When a branch is rebased, all the commit IDs in that branch change, so
finding a change by commit ID in a rebased branch (like PM branch) is
impossible.
Kevin
next prev parent reply other threads:[~2009-11-18 22:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 14:25 Problem trying to pull particular commit from PM tree Peter Barada
2009-11-18 16:57 ` Tony Lindgren
2009-11-18 21:58 ` Peter Barada
2009-11-18 21:56 ` Gary Thomas
2009-11-18 22:46 ` Kevin Hilman [this message]
2009-11-21 11:29 ` Kalle Valo
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=87einvbgdm.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=peterb@logicpd.com \
--cc=tony@atomide.com \
/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).