[PATCH v2 3/4] git-remote-mediawiki: use no-private-update capability on dumb push

2013-09-02 Thread Matthieu Moy
Signed-off-by: Matthieu Moy --- contrib/mw-to-git/git-remote-mediawiki.perl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/mw-to-git/git-remote-mediawiki.perl b/contrib/mw-to-git/git-remote-mediawiki.perl index f8d7d2c..22300a1 100755 --- a/contrib/mw-to-git/git-remote-mediawiki.

[PATCH v2 4/4] git-remote-mediawiki: no need to update private ref in non-dumb push

2013-09-02 Thread Matthieu Moy
We used to update the private ref ourselves, but this update is now done by default (since 664059fb62). Signed-off-by: Matthieu Moy --- contrib/mw-to-git/git-remote-mediawiki.perl | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/mw-to-git/git-remote-mediawiki.perl b/contrib/mw-to-git/

[PATCH v2 1/4] git-remote-mediawiki: add test and check Makefile targets

2013-09-02 Thread Matthieu Moy
There are a few level 4 and 2 perlcritic issues in the current code. We make level 5 fatal, and keep level 2 as warnings. Signed-off-by: Matthieu Moy --- contrib/mw-to-git/Makefile | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/contrib/mw-to-git/Makefile b/contrib/

[PATCH v2 2/4] transport-helper: add no-private-update capability

2013-09-02 Thread Matthieu Moy
Since 664059fb62 (Felipe Contreras, Apr 17 2013, transport-helper: update remote helper namespace), a 'push' operation on a remote helper updates the private ref by default. This is often a good thing, but it can also be desirable to disable this update to force the next 'pull' to re-import the pus

Re: [PATCH 0/6] Introduce publish tracking branch

2013-09-02 Thread Matthieu Moy
Felipe Contreras writes: > Hi, > > As it has been discussed before, our support for triangular workflows is > lacking, and the following patch series aims to improve that situation. I may be stating the obvious, but isn't your series a duplicate of remote.pushDefault, introduced in 1.8.3? If no

Re: [PATCH v2 2/4] transport-helper: add no-private-update capability

2013-09-02 Thread Felipe Contreras
On Mon, Sep 2, 2013 at 2:19 AM, Matthieu Moy wrote: > Since 664059fb62 (Felipe Contreras, Apr 17 2013, transport-helper: update > remote helper namespace), a 'push' operation on a remote helper updates > the private ref by default. This is often a good thing, but it can also > be desirable to disa

Re: [PATCH 0/6] Introduce publish tracking branch

2013-09-02 Thread Felipe Contreras
On Mon, Sep 2, 2013 at 2:25 AM, Matthieu Moy wrote: > Felipe Contreras writes: >> As it has been discussed before, our support for triangular workflows is >> lacking, and the following patch series aims to improve that situation. > > I may be stating the obvious, but isn't your series a duplicat

Re: git svn fetch segfault on exit

2013-09-02 Thread uli
I'm facing the same issue. I'm using git-1.8.4 and subversion 1.8.3 on Ubuntu. I'm proposing a different modification to Ra.pm: Jonathan's modifications basically disable the use of $RA. The modifications above ensure that the destructor of $RA is called before doing an apr_terminate(). Best r

[PATCH v3 2/4] transport-helper: add dont-update-private capability

2013-09-02 Thread Matthieu Moy
Since 664059fb62 (Felipe Contreras, Apr 17 2013, transport-helper: update remote helper namespace), a 'push' operation on a remote helper updates the private ref by default. This is often a good thing, but it can also be desirable to disable this update to force the next 'pull' to re-import the pus

Re: [PATCH] Turn off pathspec magic on "{checkout,reset,add} -p" on native Windows builds

2013-09-02 Thread Duy Nguyen
On Mon, Sep 02, 2013 at 08:42:18AM +0200, Johannes Sixt wrote: > Am 9/1/2013 4:08, schrieb Nguyễn Thái Ngọc Duy: > > git-add--interactive.perl rejects arguments with colons in 21e9757 > > (Hack git-add--interactive to make it work with ActiveState Perl - > > 2007-08-01). Pathspec magic starts with

Re: [PATCH] Turn off pathspec magic on "{checkout,reset,add} -p" on native Windows builds

2013-09-02 Thread Johannes Sixt
Am 9/2/2013 11:30, schrieb Duy Nguyen: > On Mon, Sep 02, 2013 at 08:42:18AM +0200, Johannes Sixt wrote: >> Am 9/1/2013 4:08, schrieb Nguyễn Thái Ngọc Duy: >>> git-add--interactive.perl rejects arguments with colons in 21e9757 >>> (Hack git-add--interactive to make it work with ActiveState Perl - >>

Re: [PATCH] Turn off pathspec magic on "{checkout,reset,add} -p" on native Windows builds

2013-09-02 Thread Duy Nguyen
On Mon, Sep 2, 2013 at 5:41 PM, Johannes Sixt wrote: > Which features do we lose on Windows with the previous patch and this fixup? New pathspec magic :(glob), :(literal) and :(icase). You can still use them via --*-pathspecs or equivalent env variables. You just can't enable them per individual

Re: git svn fetch segfault on exit

2013-09-02 Thread Evgeny Kotkov
> Every git svn call that involves a fetch produces a segmentation fault on > exit (but the operation succeeds). >From what I see, this looks quite similiar to the 'serf' issue I've recently reported to the serf-dev mailing list [1]. It should be fixed by now, so, the latest serf@trunk build shou

Re: git svn fetch segfault on exit

2013-09-02 Thread Uli Heller
Am 02.09.2013 13:57, schrieb Evgeny Kotkov: Every git svn call that involves a fetch produces a segmentation fault on exit (but the operation succeeds). From what I see, this looks quite similiar to the 'serf' issue I've recently reported to the serf-dev mailing list [1]. It should be fixed by

[PATCH v2] Teach git to change to a given directory using -C option

2013-09-02 Thread Nazri Ramliy
On Sun, Sep 01, 2013 at 12:48:23AM -0400, Eric Sunshine wrote: > On Fri, Aug 30, 2013 at 9:35 AM, Nazri Ramliy wrote: >> With this new option, the above can be done with less keystrokes: > > Grammar: s/less/fewer/ > > More below... Thanks for taking the time to review this patch! The fix for the

Re: [PATCH v2 3/8] refs: factor update_ref steps into helpers

2013-09-02 Thread Brad King
On 09/01/2013 02:08 AM, Junio C Hamano wrote: > Brad King writes: >> static struct ref_lock *lock; > > Not the fault of this patch, as the original update_ref() had it > this way, but it is not necessary to keep the value of this variable > across invocations. Let's drop "static" from here,

Re: [PATCH v2 4/8] refs: factor delete_ref loose ref step into a helper

2013-09-02 Thread Brad King
On 08/31/2013 12:30 PM, Michael Haggerty wrote: > Given that ret is only returned, you could restore the filename before > the if statement and replace the ret variable with an immediate return > statement: Good idea. Fixed in next revision. Thanks, -Brad -- To unsubscribe from this list: send t

Re: [PATCH v2 6/8] refs: add update_refs for multiple simultaneous updates

2013-09-02 Thread Brad King
On 08/31/2013 02:19 PM, Michael Haggerty wrote: > s/themeselves/themselves/ Fixed. >> +struct ref_update *u1 = (struct ref_update *)(r1); >> +struct ref_update *u2 = (struct ref_update *)(r2); > > If you declare u1 and u2 to be "const struct ref_update *" (i.e., add > "const"), then you

Re: [PATCH v2 6/8] refs: add update_refs for multiple simultaneous updates

2013-09-02 Thread Brad King
On 09/01/2013 02:08 AM, Junio C Hamano wrote: >> Though the refs themeselves cannot be modified together in a single > > "themselves". Fixed. > I notice that we are using an array of structures and letting qsort > swap 50~64 bytes of data Michael suggested this too, so fixed. > Optionally we c

Re: [PATCH v2 7/8] update-ref: support multiple simultaneous updates

2013-09-02 Thread Brad King
On 08/31/2013 02:42 PM, Michael Haggerty wrote: > On 08/30/2013 08:12 PM, Brad King wrote: >> +If all s can be locked with matching s >> +simultaneously all modifications are performed. Otherwise, no > > Comma after "simultaneously". Fixed. > I agree with Junio that your quoting rules are pecul

Re: [PATCH v2 7/8] update-ref: support multiple simultaneous updates

2013-09-02 Thread Brad King
On 08/30/2013 06:51 PM, Junio C Hamano wrote: > Brad King writes: >> +With `--stdin`, update-ref reads instructions from standard input and >> +performs all modifications together. Empty lines are ignored. >> +Each non-empty line is parsed as whitespace-separated arguments. >> +Use single-quotes

Re: [PATCH v2 8/8] update-ref: add test cases covering --stdin signature

2013-09-02 Thread Brad King
On 08/31/2013 11:41 PM, Eric Sunshine wrote: >> + rm -f stdin && >> + touch stdin && > > Unless the timestamp of 'stdin' has particular significance, modern > git tests avoid 'touch' in favor of creating the empty file like this > > >stdin && Fixed. >> + git update-ref --s

[PATCH v3 1/8] reset: rename update_refs to reset_refs

2013-09-02 Thread Brad King
The function resets refs rather than doing arbitrary updates. Rename it to allow a future general-purpose update_refs function to be added. Signed-off-by: Brad King --- builtin/reset.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/reset.c b/builtin/reset.c in

[PATCH v3 8/8] update-ref: add test cases covering --stdin signature

2013-09-02 Thread Brad King
Extend t/t1400-update-ref.sh to cover cases using the --stdin option. Signed-off-by: Brad King --- t/t1400-update-ref.sh | 256 + 1 file changed, 256 insertions(+) diff --git a/t/t1400-update-ref.sh b/t/t1400-update-ref.sh index e415ee0..b6d7dfa

[PATCH v3 4/8] refs: factor delete_ref loose ref step into a helper

2013-09-02 Thread Brad King
Factor loose ref deletion into helper function delete_ref_loose to allow later use elsewhere. Signed-off-by: Brad King --- refs.c | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/refs.c b/refs.c index 4347826..ab9d22e 100644 --- a/refs.c +++ b/r

[PATCH v3 5/8] refs: add function to repack without multiple refs

2013-09-02 Thread Brad King
Generalize repack_without_ref as repack_without_refs to support a list of refs and implement the former in terms of the latter. Signed-off-by: Brad King --- refs.c | 29 ++--- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/refs.c b/refs.c index ab9d22e..

[PATCH v3 6/8] refs: add update_refs for multiple simultaneous updates

2013-09-02 Thread Brad King
Add 'struct ref_update' to encode the information needed to update or delete a ref (name, new sha1, optional old sha1, no-deref flag). Add function 'update_refs' accepting an array of updates to perform. First sort the input array to order locks consistently everywhere and reject multiple updates

[PATCH v3 0/8] Multiple simultaneously locked ref updates

2013-09-02 Thread Brad King
Hi Folks, Here is the third revision of a series to support locking multiple refs at the same time to update all of them consistently. The previous revisions of the series can be found at $gmane/233260 and $gmane/233458. Updates since the previous revision of the series: * Incorporated style fi

[PATCH v3 7/8] update-ref: support multiple simultaneous updates

2013-09-02 Thread Brad King
Add a --stdin signature to read update instructions from standard input and apply multiple ref updates together. Use an input format that supports any update that could be specified via the command-line, including object names like "branch:path with space". Signed-off-by: Brad King --- Document

[PATCH v3 2/8] refs: report ref type from lock_any_ref_for_update

2013-09-02 Thread Brad King
Expose lock_ref_sha1_basic's type_p argument to callers of lock_any_ref_for_update. Update all call sites to ignore it by passing NULL for now. Signed-off-by: Brad King --- branch.c |2 +- builtin/commit.c |2 +- builtin/fetch.c|3 ++- builtin/receive-pac

[PATCH v3 3/8] refs: factor update_ref steps into helpers

2013-09-02 Thread Brad King
Factor the lock and write steps and error handling into helper functions update_ref_lock and update_ref_write to allow later use elsewhere. Expose lock_any_ref_for_update's type_p to update_ref_lock callers. While at it, drop "static" from the local "lock" variable as it is not necessary to keep a

Re: [PATCH v3 7/8] update-ref: support multiple simultaneous updates

2013-09-02 Thread Brad King
On 09/02/2013 01:48 PM, Brad King wrote: > + /* Parse the argument: */ > + strbuf_reset(arg); > + if (*next == '"') { > + if (unquote_c_style(arg, next, &next)) > + die("badly quoted argument: %s", next); > + return next; > + } > + whi

Call For Papers

2013-09-02 Thread WSEAS
Dear Colleagues, You are invited to upload your papers to our upcoming conferences Paris, France, October 29-31, 2013. More details: http://www.wseas.org Scientific Sponsors: a) University of Zagreb, Croatia, b) Music Academy "Studio Musica", Italy, c) Constanta Maritime University, Romania,

Re: git-p4 out of memory for very large repository

2013-09-02 Thread Luke Diamand
I guess you could try changing the OOM score for git-fast-import. change /proc//oomadj. I think a value of -31 would make it very unlikely to be killed. On 29/08/13 23:46, Pete Wyckoff wrote: cmt...@gmail.com wrote on Wed, 28 Aug 2013 11:41 -0400: On Mon, Aug 26, 2013 at 09:47:56AM -0400, Cor

Re: [PATCH] revision: introduce --exclude= to tame wildcards

2013-09-02 Thread Johannes Sixt
Am 31.08.2013 01:55, schrieb Junio C Hamano: > People often find "git log --branches" etc. that includes _all_ > branches is cumbersome to use when they want to grab most but except > some. The same applies to --tags, --all and --glob. > > Teach the revision machinery to remember patterns, and th

Re: Git installation on Mac OS X - problem

2013-09-02 Thread Ted Wood
Sorry... I misread the README... it does indeed say /usr/local/git, which is where the new binary was installed correctly. Eyes have been crossed by all of these software re-installations and terminal commands. :P Thanks. ~Ted On 2013-09-02, at 1:16 PM, Ted Wood wrote: > > I've recently

Re: [PATCH 09/23] pack v4: commit object encoding

2013-09-02 Thread Duy Nguyen
On Tue, Aug 27, 2013 at 11:25 AM, Nicolas Pitre wrote: > This goes as follows: > > - Tree reference: either variable length encoding of the index > into the SHA1 table or the literal SHA1 prefixed by 0 (see > add_sha1_ref()). > > - Parent count: variable length encoding of the number of parent

Git installation on Mac OS X - problem

2013-09-02 Thread Ted Wood
I've recently re-installed all of my MacPorts installations due to a third-party application corrupting my installation. Upon attempting to install git-core via MacPorts, it hangs on the "Building" stage, with no disk activity (clang process is active in Terminal). So, I attempted to download t

[PATCH V2] check-ignore: Add option to ignore index contents

2013-09-02 Thread Dave Williams
I have updated the original version of this patch to encompass the feedback comments obtained. Updates include: 1) Rename option to --no-index for consistency with other commands 2) Improved Documentation text 3) Extension to test scripts to include this option Regarding test scripts I have scoped

Re: [PATCH v3 07/11] Documentation/replace: tell that -f option bypasses the type check

2013-09-02 Thread Philip Oakley
From: "Christian Couder" From: "Philip Oakley" From: "Christian Couder" Maybe we can show that in an example. But I think the patch is quite clear as it is and should be enough. If we really want to correct some false beliefs, the best would be to state the truth where those false belie

Re: [PATCH v3 07/11] Documentation/replace: tell that -f option bypasses the type check

2013-09-02 Thread Jonathan Nieder
Hi, Philip Oakley wrote: > Does `hash-object` do the inverese of `cat-file commit`? > > I didn't find the hash-object(1) man page very informative on that matter Hm. The manpage says: Computes the object ID value for an object with specified type with the contents of the named

Re: [PATCH v3 07/11] Documentation/replace: tell that -f option bypasses the type check

2013-09-02 Thread Philip Oakley
From: "Jonathan Nieder" Hi, Philip Oakley wrote: Does `hash-object` do the inverese of `cat-file commit`? I didn't find the hash-object(1) man page very informative on that matter Hm. The manpage says: Computes the object ID value for an object with specified type with the contents of t

Re: [PATCH V2] check-ignore: Add option to ignore index contents

2013-09-02 Thread Eric Sunshine
On Mon, Sep 2, 2013 at 5:20 PM, Dave Williams wrote: > I have updated the original version of this patch to encompass the > feedback comments obtained. Updates include: > 1) Rename option to --no-index for consistency with other commands > 2) Improved Documentation text > 3) Extension to test scri

[PATCH 0/6] Preparation for non-ff pulls by default

2013-09-02 Thread Felipe Contreras
It is very typical for Git newcomers to inadvertently create merges and worst: inadvertently pushing them. This is one of the reasons many experienced users prefer to avoid 'git pull', and recommend newcomers to avoid it as well. To avoid these problems and keep 'git pull' useful, it has been sugg

[PATCH 6/6] pull: add merge-ff-only option

2013-09-02 Thread Felipe Contreras
It is very typical for Git newcomers to inadvertently create merges and worst, inadvertently pushing them. This is one of the reasons many experienced users prefer to avoid 'git pull', and recommend newcomers to avoid it as well. To avoid these problems and keep 'git pull' useful it has been sugge

[PATCH 5/6] pull: add --merge option

2013-09-02 Thread Felipe Contreras
Also, deprecate --no-rebase since there's no need for it any more. Signed-off-by: Felipe Contreras --- Documentation/git-pull.txt | 8 ++-- git-pull.sh| 6 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/git-pull.txt b/Documentation/git-pu

[PATCH 3/6] pull: rename pull.rename to pull.mode

2013-09-02 Thread Felipe Contreras
Also 'branch..rebase' to 'branch..pullmode'. This way 'pull.mode' can be set to 'merge', and the default can be something else. The old configurations still work, but get deprecated. Signed-off-by: Felipe Contreras --- Documentation/config.txt | 22 +++--- Documentation/git-p

[PATCH 1/6] merge: simplify ff-only option

2013-09-02 Thread Felipe Contreras
No functional changes. Signed-off-by: Felipe Contreras --- builtin/merge.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/builtin/merge.c b/builtin/merge.c index 34a6166..da9fc08 100644 --- a/builtin/merge.c +++ b/builtin/merge.c @@ -186,13 +186,6 @@ static int o

[PATCH 4/6] pull: refactor $rebase variable into $mode

2013-09-02 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- git-pull.sh | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/git-pull.sh b/git-pull.sh index de57c1d..f53d193 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -48,8 +48,7 @@ if test -z "$mode" then mode=$(git co

[PATCH 2/6] t: replace pulls with merges

2013-09-02 Thread Felipe Contreras
This is what the code intended. No functional changes. Signed-off-by: Felipe Contreras --- t/annotate-tests.sh| 2 +- t/t4200-rerere.sh | 2 +- t/t9114-git-svn-dcommit-merge.sh | 2 +- t/t9500-gitweb-standalone-no-errors.sh | 2 +- 4 files changed,

Re: [PATCH v3 07/11] Documentation/replace: tell that -f option bypasses the type check

2013-09-02 Thread Jonathan Nieder
Philip Oakley wrote: > The problem is the file format, in the sense that the earlier `git cat-file > commit $orig` has a human readable output which is a description of the > commit header, rather than the specific binary content. Ah. That's the actual "raw" commit object format, though. The ma

Re: [PATCH v3 07/11] Documentation/replace: tell that -f option bypasses the type check

2013-09-02 Thread Philip Oakley
From: "Jonathan Nieder" Philip Oakley wrote: The problem is the file format, in the sense that the earlier `git cat-file commit $orig` has a human readable output which is a description of the commit header, rather than the specific binary content. Ah. That's the actual "raw" commit objec

Re: [PATCH] revision: introduce --exclude= to tame wildcards

2013-09-02 Thread Felipe Contreras
On Mon, Sep 2, 2013 at 3:11 PM, Johannes Sixt wrote: > Am 31.08.2013 01:55, schrieb Junio C Hamano: >> People often find "git log --branches" etc. that includes _all_ >> branches is cumbersome to use when they want to grab most but except >> some. The same applies to --tags, --all and --glob. >>

Re: the pager

2013-09-02 Thread Dale R. Worley
> From: Matthieu Moy > > const char *git_pager(int stdout_is_tty) > > { > > const char *pager; > > > > if (!stdout_is_tty) > > return NULL; > > > > pager = getenv("GIT_PAGER"); > > if (!pager) { > > if

Re: the pager

2013-09-02 Thread Dale R. Worley
> I've noticed that Git by default puts long output through "less" as a > pager. I don't like that, but this is not the time to change > established behavior. But while tracking that down, I noticed that > the paging behavior is controlled by at least 5 things: > > the -p/--paginate/--no-pager o

Re: the pager

2013-09-02 Thread Jonathan Nieder
Hi, Dale R. Worley wrote: > That's true, but it would change the effect of using "cat" as a value: > "cat" as a value of DEFAULT_PAGER would cause git_pager() to return > NULL, whereas now it causes git_pager() to return "cat". (All other > places where "cat" can be a value are translated to NUL

Re: [PATCH] revision: introduce --exclude= to tame wildcards

2013-09-02 Thread Michael Haggerty
On 09/02/2013 10:11 PM, Johannes Sixt wrote: > Am 31.08.2013 01:55, schrieb Junio C Hamano: >> People often find "git log --branches" etc. that includes _all_ >> branches is cumbersome to use when they want to grab most but except >> some. The same applies to --tags, --all and --glob. >> >> Teach

Re: [PATCH v2 6/8] refs: add update_refs for multiple simultaneous updates

2013-09-02 Thread Michael Haggerty
On 09/02/2013 07:20 PM, Brad King wrote: > On 09/01/2013 02:08 AM, Junio C Hamano wrote: >>> Though the refs themeselves cannot be modified together in a single >> >> "themselves". > > Fixed. > >> I notice that we are using an array of structures and letting qsort >> swap 50~64 bytes of data > >

Re: [PATCH v2] Document pack v4 format

2013-09-02 Thread Nicolas Pitre
On Sat, 31 Aug 2013, Nguyễn Thái Ngọc Duy wrote: > > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > Incorporated suggestions by Nico and Junio. I went ahead and added > escape hatches for converting thin packs to full ones so the document > does not really match the code (I've been watching Nico

Re: [PATCH 23/23] initial pack index v3 support on the read side

2013-09-02 Thread Nicolas Pitre
On Sat, 31 Aug 2013, Duy Nguyen wrote: > On Tue, Aug 27, 2013 at 11:26 AM, Nicolas Pitre wrote: > > A bit crud but good enough for now. > > I wonder if we should keep a short SHA-1 table in .idx. An entry in > the original .idx v1 table is + then offset moved out > to make the table more compact

Re: [PATCH 09/23] pack v4: commit object encoding

2013-09-02 Thread Nicolas Pitre
On Tue, 3 Sep 2013, Duy Nguyen wrote: > On Tue, Aug 27, 2013 at 11:25 AM, Nicolas Pitre wrote: > > This goes as follows: > > > > - Tree reference: either variable length encoding of the index > > into the SHA1 table or the literal SHA1 prefixed by 0 (see > > add_sha1_ref()). > > > > - Parent

Re: [PATCH] git send-email: include [anything]-by: signatures

2013-09-02 Thread Jeff King
On Sat, Aug 31, 2013 at 10:22:50PM +0300, Michael S. Tsirkin wrote: > On Mon, Aug 26, 2013 at 07:57:47PM +0300, Michael S. Tsirkin wrote: > > Consider [anything]-by: a valid signature. > > This includes Tested-by: Acked-by: Reviewed-by: etc. > > > > Signed-off-by: Michael S. Tsirkin > > Ping. >

Re: [PATCH v2] Document pack v4 format

2013-09-02 Thread Nicolas Pitre
On Tue, 3 Sep 2013, Nicolas Pitre wrote: > On Sat, 31 Aug 2013, Nguyễn Thái Ngọc Duy wrote: > > > > > Signed-off-by: Nguyễn Thái Ngọc Duy > > --- > > Incorporated suggestions by Nico and Junio. I went ahead and added > > escape hatches for converting thin packs to full ones so the document >

Re: [PATCH] {fetch,receive}-pack: drop unpack-objects, delay loosing objects until the end

2013-09-02 Thread Jeff King
On Mon, Sep 02, 2013 at 10:05:07AM +0700, Nguyen Thai Ngoc Duy wrote: > Current code peaks into the transfered pack's header, if the number of > objects is under a limit, unpack-objects is called to handle the rest, > otherwise index-pack is. This patch makes fetch-pack use index-pack > unconditio