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

Re: Check for differents trees

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 6, 2005, 18:24 UTC
Message-ID
<Pine.LNX.4.63.0511061922570.12750@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20051106153830.18963.qmail@web26312.mail.ukl.yahoo.com>
Hi,

if you want to know if tree1 and tree2 have *exactly* the same files, you only have to compare the sha1 of the two trees. If they are equal you are virtually guaranteed that the two trees contain the same files.

Hth, Dscho

Previous: Junio C Hamano
Message 3 of 3 in “Check for differents trees”
  1. Marco CostalbaNov 6, 2005
  2. Junio C HamanoNov 6, 2005
  3. Johannes SchindelinNov 6, 2005

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.