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

Re: git fetch: where are the downloaded objects stored?

From
PCPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Date
Mar 3, 2008, 19:43 UTC
Message-ID
<4d8e3fd30803031143n28371721jbe7eaf2f5e72dcb7@mail.gmail.com>
In-Reply-To
<alpine.LFD.1.00.0803031307110.2899@xanadu.home>

On Mon, Mar 3, 2008 at 7:07 PM, Nicolas Pitre <nico@cam.org> wrote: [...]

Show 12 quoted lines
>  You still think in terms of "data used to update a branch".  There is no
>  such direct relation between the fetched data (objects) and the updated
>  branch heads.  What you do when listing the commits found between
>  origin/master@{1} and origin/master@{0} (or simply origin/master wich
>  is equivalent to origin/master@{0}) does not necessarily correspond to
>  the data you received during the fetch.  For example, it is possible
>  that half of those commits were already part of another branch in your
>  repository, hence the fetch operation won't download them again.  Still,
>  the origin/master branch now has acquired them all which wasn't the case
>  before.  To really _see_ the actually received data during a fetch
>  requires internal Git knowledge and digging in the pack directory --
>  there is no (need for any) UI for that.

Yes, this time it was me using a completely wrong terminology. What I was looking for is what Sergei suggested.

Show 6 quoted lines
>  > And how about a repository which have reflogs disabled?
>
>  Well, just re-enable them.  ;-)
>
>  Since they're on by default, if you turned them off then you surely know
>  what you're doing and why.
Oh well, very true!

Maybe it's again just me which is still not used to git fetch (or my mental translation of °fetch° in Italian) but I found easier to "visualize" the commang "git remote update" which in my setup alway means "Fetch updates all the remotes in the repository"

Again, thank you for your comments and for your time.
Ciao,
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/
Previous: Nicolas PitreNext: Jakub Narebski
Message 11 of 12 in “git fetch: where are the downloaded objects stored?”
  1. Paolo CiarrocchiMar 3, 2008
  2. Matthieu MoyMar 3, 2008
  3. Paolo CiarrocchiMar 3, 2008
  4. Matthieu MoyMar 3, 2008
  5. Paolo CiarrocchiMar 3, 2008
  6. Nicolas PitreMar 3, 2008
  7. Paolo CiarrocchiMar 3, 2008
  8. Sergei OrganovMar 3, 2008
  9. Nicolas PitreMar 3, 2008
  10. Nicolas PitreMar 3, 2008
  11. Paolo CiarrocchiMar 3, 2008
  12. Jakub NarebskiMar 3, 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.