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

Re: git bundle vs git rev-list

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Dec 5, 2014, 23:13 UTC
Message-ID
<20141205231350.GB223328@vauxhall.crustytoothpaste.net>
In-Reply-To
<CAL3By--xYnXFUdDP3MDxAxvfeBT3ArFrdAV=apzdWg6_kiD2Yg@mail.gmail.com>
On Fri, Dec 05, 2014 at 03:36:18PM -0700, Jesse Hopkins wrote:
> 1. Any thoughts on why a tag would be included by 'git bundle', when
> 'git rev-list' with the same arguments returns empty?
I think the answer to this is found in the git rev-list manpage:
  List commits that are reachable by following the parent links from the
  given commit(s), but exclude commits that are reachable from the
  one(s) given with a ^ in front of them.

The operative word here is "commits". A bundle might include one or more tag objects, or unannotated tags, even though no new commits were available within the time frame.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “git bundle vs git rev-list”
  1. Jesse HopkinsDec 5, 2014
  2. Junio C HamanoDec 5, 2014
  3. brian m. carlsonDec 5, 2014
  4. Junio C HamanoDec 5, 2014
  5. brian m. carlsonDec 5, 2014
  6. Jeff KingDec 6, 2014

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.