git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: linux-x86-tip: pilot error?

From
IMIngo Molnar <mingo@elte.hu>
Date
Jun 23, 2008, 15:31 UTC
Message-ID
<20080623153159.GC28394@elte.hu>
In-Reply-To
<20080623151257.GC20902@sigill.intra.peff.net>
* Jeff King <peff@peff.net> wrote:
Show 8 quoted lines
> On Mon, Jun 23, 2008 at 09:14:41AM +0200, Ingo Molnar wrote:
> 
> > Is there a Git way of finding the common ancestor of a topic branch, 
> > when compared to upstream?
> 
> Try:
> 
>   git merge-base topic upstream
turns out we already use that as a fallback:
    if [ -z "$TREF" ]
    then
        echo "No topic reference found. Using git-merge-base"
        MBASE=`git-merge-base linus HEAD`
        TD=`get_date_for_tag`
        TB=`echo $B | sed "s@/@-@"`
        git-tag "tip-"$TB"-"$TD $MBASE
        TREF="tip-"$TB"-"$TD
    [...]
i guess we could use that unconditionally.
	Ingo
Previous: Jeff KingNext: Ingo Molnar
Message 14 of 15 in “linux-x86-tip: pilot error?”
  1. Paul E. McKenneyJun 22, 2008
  2. Mikael MagnussonJun 22, 2008
  3. Paul E. McKenneyJun 22, 2008
  4. Mikael MagnussonJun 22, 2008
  5. Björn SteinbrinkJun 22, 2008
  6. Paul E. McKenneyJun 22, 2008
  7. Ingo MolnarJun 23, 2008
  8. Paul E. McKenneyJun 23, 2008
  9. Ingo MolnarJun 23, 2008
  10. Paul E. McKenneyJun 23, 2008
  11. Ingo MolnarJun 23, 2008
  12. Daniel BarkalowJun 23, 2008
  13. Jeff KingJun 23, 2008
  14. Ingo MolnarJun 23, 2008
  15. Ingo MolnarJun 23, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.