{"thread":{"id":"16914","subject":"shallow clone, shallow fetch?","startedAt":"2008-12-29T18:07:27Z","lastAt":"2009-01-01T09:25:13Z","messageCount":3,"participants":["jidanni@jidanni.org","Sitaram Chamarty"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"98907","messageId":"87vdt24zz4.fsf@jidanni.org","threadId":"16914","inReplyTo":null,"subject":"shallow clone, shallow fetch?","fromName":"","fromEmail":"jidanni@jidanni.org","sentAt":"2008-12-29T18:07:27Z","receivedAt":"2008-12-29T18:07:27Z","isPatch":false,"sender":{"key":"jidanni@jidanni.org","avatar":"https://gravatar.com/avatar/36568d4af4c8d3e71627ef3b8c8d00e39065b12f29676cccd38ced75e68fa2a6?d=mp&s=160"},"body":"man git-clone at --depth could also mention if updating procedures are\nfor shallow clones just like for plain git-clones, or is there a diet\nway of updating too? (Not git-fetch --depth apparently.)\n\n(The diet way would give results like one did\n$ rm -r .git *; git-clone --depth 1 ...\nall over again, but only cause a small download this time.)\n"},{"id":"99074","messageId":"877i5fohwr.fsf@jidanni.org","threadId":"16914","inReplyTo":"87vdt24zz4.fsf@jidanni.org","subject":"Re: shallow clone, shallow fetch?","fromName":"","fromEmail":"jidanni@jidanni.org","sentAt":"2009-01-01T02:54:12Z","receivedAt":"2009-01-01T02:54:12Z","isPatch":false,"sender":{"key":"jidanni@jidanni.org","avatar":"https://gravatar.com/avatar/36568d4af4c8d3e71627ef3b8c8d00e39065b12f29676cccd38ced75e68fa2a6?d=mp&s=160"},"body":"Last week I did git-clone --depth 1 This week I wanted to freshen my\nrepository, with the same goal: \"I don't care about history, just\nfast forward me with the least bytes transfered.\" But all I can find\nis just plain git pull. Did I achieve my goal?\n$ git pull\nremote: Counting objects: 7007, done.\nremote: Compressing objects: 100% (3057/3057), done.\nremote: Total 7007 (delta 4280), reused 6076 (delta 3625)\nReceiving objects: 100% (7007/7007), 2.96 MiB | 26 KiB/s, done.\nResolving deltas: 100% (4280/4280), done.\nFrom git://git.kernel.org/pub/scm/git/git\n   2fa431b..bbbb865  html       -> origin/html\n   a9012e3..936b705  maint      -> origin/maint\n   dfd79c7..794d84e  man        -> origin/man\n   159c88e..c32f76f  master     -> origin/master\n   3b9b952..6f67462  next       -> origin/next\n + b14a7fb...89bdc19 pu         -> origin/pu  (forced update)\nMerge made by recursive.\n Documentation/Makefile             |    9 +++++----\n Documentation/RelNotes-1.6.1.1.txt |   23 +++++++++++++++++++++++\n Documentation/cat-texi.perl        |    8 ++++++--\n Documentation/git-reset.txt        |   29 ++++++++++++++++++++++++++++-\n builtin-pack-objects.c             |    9 ++++++++-\n builtin-reset.c                    |   26 ++++++++++++++++++--------\n gitweb/gitweb.perl                 |    5 +++--\n t/t5302-pack-index.sh              |    1 +\n 8 files changed, 92 insertions(+), 18 deletions(-)\n create mode 100644 Documentation/RelNotes-1.6.1.1.txt\n"},{"id":"99081","messageId":"slrnglp2vp.4qn.sitaramc@sitaramc.homelinux.net","threadId":"16914","inReplyTo":"877i5fohwr.fsf@jidanni.org","subject":"Re: shallow clone, shallow fetch?","fromName":"Sitaram Chamarty","fromEmail":"sitaramc@gmail.com","sentAt":"2009-01-01T09:25:13Z","receivedAt":"2009-01-01T09:25:13Z","isPatch":false,"sender":{"key":"sitaramc@gmail.com","avatar":"https://avatars.githubusercontent.com/u/43316?v=4"},"body":"On 2009-01-01, jidanni@jidanni.org <jidanni@jidanni.org> wrote:\n> Last week I did git-clone --depth 1 This week I wanted to freshen my\n> repository, with the same goal: \"I don't care about history, just\n> fast forward me with the least bytes transfered.\" But all I can find\n> is just plain git pull. Did I achieve my goal?\n> $ git pull\n> remote: Counting objects: 7007, done.\n> remote: Compressing objects: 100% (3057/3057), done.\n> remote: Total 7007 (delta 4280), reused 6076 (delta 3625)\n> Receiving objects: 100% (7007/7007), 2.96 MiB | 26 KiB/s, done.\n> Resolving deltas: 100% (4280/4280), done.\n> From git://git.kernel.org/pub/scm/git/git\n>    2fa431b..bbbb865  html       -> origin/html\n>    a9012e3..936b705  maint      -> origin/maint\n>    dfd79c7..794d84e  man        -> origin/man\n>    159c88e..c32f76f  master     -> origin/master\n>    3b9b952..6f67462  next       -> origin/next\n>  + b14a7fb...89bdc19 pu         -> origin/pu  (forced update)\n\nThe hashes certainly agree with what I have (just did a pull\nthis minute), except I also have a new branch called\n\"origin/todo\" at SHA1=6670008 which you seem to be missing.\n\nI'm not familiar enough with shallow clones to draw any\nconclusions though :-(\n"}]}