Re: Are binary xdeltas only used if you use git-gc?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jakub Narebski <jnareb@...>, Thanassis Tsiodras <ttsiodras@...>, <git@...>
Date: Friday, October 31, 2008 - 1:03 pm

Jakub Narebski wrote:

AFAICT, git stopped pushing thin packs by default with 1.5.3.2, so
you have to explicitely ask for it.  The original poster might not
be clear about this (or even know what a thin pack is).

Thanassis, try to use "git push --thin".  'man git-push' says:

  --thin, --no-thin
      These options are passed to git-send-pack. Thin transfer spends
      extra cycles to minimize the number of objects to be sent and meant
      to be used on slower connection.

I did a quick test with big random files and it indeed only sends
small deltas on small changes, but if you don't pass --thin, it
will send the full objects.

I didn't find a configuration variable to change that default.  It
would make sense for people that regularly push over slow lines.

Hope this helps,
jlh
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Are binary xdeltas only used if you use git-gc?, Thanassis Tsiodras, (Fri Oct 31, 5:43 am)
Re: Are binary xdeltas only used if you use git-gc?, Matthieu Moy, (Fri Oct 31, 8:42 am)
Re: Are binary xdeltas only used if you use git-gc?, Thanassis Tsiodras, (Fri Oct 31, 10:22 am)
Re: Are binary xdeltas only used if you use git-gc?, Jakub Narebski, (Fri Oct 31, 7:15 am)
Re: Are binary xdeltas only used if you use git-gc?, Jean-Luc Herren, (Fri Oct 31, 1:03 pm)
Re: Are binary xdeltas only used if you use git-gc?, Thanassis Tsiodras, (Fri Oct 31, 7:28 am)
Re: Are binary xdeltas only used if you use git-gc?, Jakub Narebski, (Fri Oct 31, 12:26 pm)
Re: Are binary xdeltas only used if you use git-gc?, Matthieu Moy, (Fri Oct 31, 12:42 pm)
Re: Are binary xdeltas only used if you use git-gc?, Nicolas Pitre, (Fri Oct 31, 3:53 pm)
Re: Are binary xdeltas only used if you use git-gc?, Thanassis Tsiodras, (Sat Nov 1, 7:54 am)
Re: Are binary xdeltas only used if you use git-gc?, Nicolas Pitre, (Sat Nov 1, 9:25 am)
Re: Are binary xdeltas only used if you use git-gc?, Thanassis Tsiodras, (Mon Nov 3, 4:35 pm)
Re: Are binary xdeltas only used if you use git-gc?, Nicolas Pitre, (Mon Nov 3, 5:42 pm)
Re: Are binary xdeltas only used if you use git-gc?, Thanassis Tsiodras, (Mon Nov 3, 6:53 pm)
Re: Are binary xdeltas only used if you use git-gc?, Nicolas Pitre, (Mon Nov 3, 9:18 pm)
Re: Are binary xdeltas only used if you use git-gc?, Junio C Hamano, (Mon Nov 3, 9:36 pm)
Re: Are binary xdeltas only used if you use git-gc?, Nicolas Pitre, (Mon Nov 3, 9:57 pm)
Re: Are binary xdeltas only used if you use git-gc?, Junio C Hamano, (Mon Nov 3, 11:17 pm)
Re: Are binary xdeltas only used if you use git-gc?, Pieter de Bie, (Mon Nov 3, 4:52 pm)
Re: Are binary xdeltas only used if you use git-gc?, Pierre Habouzit, (Fri Oct 31, 7:02 am)
Re: Are binary xdeltas only used if you use git-gc?, Nicolas Pitre, (Fri Oct 31, 3:31 pm)
Re: Are binary xdeltas only used if you use git-gc?, Thanassis Tsiodras, (Fri Oct 31, 7:16 am)
Re: Are binary xdeltas only used if you use git-gc?, Nicolas Pitre, (Fri Oct 31, 3:47 pm)