* shallow clone, shallow fetch?
@ 2008-12-29 18:07 jidanni
2009-01-01 2:54 ` jidanni
0 siblings, 1 reply; 3+ messages in thread
From: jidanni @ 2008-12-29 18:07 UTC (permalink / raw)
To: git
man git-clone at --depth could also mention if updating procedures are
for shallow clones just like for plain git-clones, or is there a diet
way of updating too? (Not git-fetch --depth apparently.)
(The diet way would give results like one did
$ rm -r .git *; git-clone --depth 1 ...
all over again, but only cause a small download this time.)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: shallow clone, shallow fetch?
2008-12-29 18:07 shallow clone, shallow fetch? jidanni
@ 2009-01-01 2:54 ` jidanni
2009-01-01 9:25 ` Sitaram Chamarty
0 siblings, 1 reply; 3+ messages in thread
From: jidanni @ 2009-01-01 2:54 UTC (permalink / raw)
To: git
Last week I did git-clone --depth 1 This week I wanted to freshen my
repository, with the same goal: "I don't care about history, just
fast forward me with the least bytes transfered." But all I can find
is just plain git pull. Did I achieve my goal?
$ git pull
remote: Counting objects: 7007, done.
remote: Compressing objects: 100% (3057/3057), done.
remote: Total 7007 (delta 4280), reused 6076 (delta 3625)
Receiving objects: 100% (7007/7007), 2.96 MiB | 26 KiB/s, done.
Resolving deltas: 100% (4280/4280), done.
From git://git.kernel.org/pub/scm/git/git
2fa431b..bbbb865 html -> origin/html
a9012e3..936b705 maint -> origin/maint
dfd79c7..794d84e man -> origin/man
159c88e..c32f76f master -> origin/master
3b9b952..6f67462 next -> origin/next
+ b14a7fb...89bdc19 pu -> origin/pu (forced update)
Merge made by recursive.
Documentation/Makefile | 9 +++++----
Documentation/RelNotes-1.6.1.1.txt | 23 +++++++++++++++++++++++
Documentation/cat-texi.perl | 8 ++++++--
Documentation/git-reset.txt | 29 ++++++++++++++++++++++++++++-
builtin-pack-objects.c | 9 ++++++++-
builtin-reset.c | 26 ++++++++++++++++++--------
gitweb/gitweb.perl | 5 +++--
t/t5302-pack-index.sh | 1 +
8 files changed, 92 insertions(+), 18 deletions(-)
create mode 100644 Documentation/RelNotes-1.6.1.1.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: shallow clone, shallow fetch?
2009-01-01 2:54 ` jidanni
@ 2009-01-01 9:25 ` Sitaram Chamarty
0 siblings, 0 replies; 3+ messages in thread
From: Sitaram Chamarty @ 2009-01-01 9:25 UTC (permalink / raw)
To: git
On 2009-01-01, jidanni@jidanni.org <jidanni@jidanni.org> wrote:
> Last week I did git-clone --depth 1 This week I wanted to freshen my
> repository, with the same goal: "I don't care about history, just
> fast forward me with the least bytes transfered." But all I can find
> is just plain git pull. Did I achieve my goal?
> $ git pull
> remote: Counting objects: 7007, done.
> remote: Compressing objects: 100% (3057/3057), done.
> remote: Total 7007 (delta 4280), reused 6076 (delta 3625)
> Receiving objects: 100% (7007/7007), 2.96 MiB | 26 KiB/s, done.
> Resolving deltas: 100% (4280/4280), done.
> From git://git.kernel.org/pub/scm/git/git
> 2fa431b..bbbb865 html -> origin/html
> a9012e3..936b705 maint -> origin/maint
> dfd79c7..794d84e man -> origin/man
> 159c88e..c32f76f master -> origin/master
> 3b9b952..6f67462 next -> origin/next
> + b14a7fb...89bdc19 pu -> origin/pu (forced update)
The hashes certainly agree with what I have (just did a pull
this minute), except I also have a new branch called
"origin/todo" at SHA1=6670008 which you seem to be missing.
I'm not familiar enough with shallow clones to draw any
conclusions though :-(
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-01 9:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-29 18:07 shallow clone, shallow fetch? jidanni
2009-01-01 2:54 ` jidanni
2009-01-01 9:25 ` Sitaram Chamarty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).