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

Re: check if a commit is ascendent of a specific commit

From
Junio C Hamano <junkio@cox.net>
Date
Nov 11, 2006, 20:12 UTC
Message-ID
<7v64dlkait.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20061111192321.GJ4862@socrates.priv>
Tom Prince <tom.prince@ualberta.net> writes:
Show 11 quoted lines
> On Sat, Nov 11, 2006 at 10:43:47AM -0800, Junio C Hamano wrote:
>> "Nguyen Thai Ngoc Duy" <pclouds@gmail.com> writes:
>> 
>> > Hi,
>> > I want to create "git-amend-commit" to be able to amend commits before
>> > HEAD. So I need to check whether the commit I'm going to amend is
>> > ascendent of HEAD. Is there any way to check that?
>> 
>> Ascendant is a word from astorology -- you mean ancestor ;-).
>
> Or antecedent.
Sorry, there is no "or" here -- check our documentation ;-).
Previous: Tom PrinceNext: Jakub Narebski
Message 6 of 8 in “check if a commit is ascendent of a specific commit”
  1. Nguyen Thai Ngoc DuyNov 11, 2006
  2. Jakub NarebskiNov 11, 2006
  3. Nguyen Thai Ngoc DuyNov 11, 2006
  4. Junio C HamanoNov 11, 2006
  5. Tom PrinceNov 11, 2006
  6. Junio C HamanoNov 11, 2006
  7. Jakub NarebskiNov 11, 2006
  8. Karl HasselströmNov 11, 2006

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.