[PATCH 15/78] config.txt: move commit.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 30 +- Documentation/config/commit.txt | 29 + 2 files changed, 30 insertions(+), 29 deletions(-) create mode 100644 Documentation/config/commit.txt diff --git

[PATCH 14/78] config.txt: move column.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 56 + Documentation/config/column.txt | 55 2 files changed, 56 insertions(+), 55 deletions(-) create mode 100644 Documentation/config/column.txt diff

[PATCH 25/78] config.txt: move fsck.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 68 +-- Documentation/config/fsck.txt | 67 ++ 2 files changed, 68 insertions(+), 67 deletions(-) create mode 100644 Documentation/config/fsck.txt diff --git

[PATCH 06/78] config.txt: move am.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 15 +-- Documentation/config/am.txt | 14 ++ 2 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 Documentation/config/am.txt diff --git a/Documentation/config.txt

[PATCH 03/78] config.txt: move core.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 595 +- Documentation/config/core.txt | 594 + 2 files changed, 595 insertions(+), 594 deletions(-) create mode 100644 Documentation/config/core.txt diff

[PATCH 37/78] git-imap-send.txt: move imap.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 4 +-- Documentation/config/imap.txt | 44 Documentation/git-imap-send.txt | 45 + 3 files changed, 46 insertions(+), 47 deletions(-) create mode 100644

[PATCH 07/78] config.txt: move apply.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 12 +--- Documentation/config/apply.txt | 11 +++ 2 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 Documentation/config/apply.txt diff --git a/Documentation/config.txt

[PATCH 17/78] config.txt: move completion.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 8 +--- Documentation/config/completion.txt | 7 +++ 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 Documentation/config/completion.txt diff --git a/Documentation/config.txt

[PATCH 21/78] config.txt: move fetch-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{fetch-config.txt => config/fetch.txt} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Documentation/{fetch-config.txt => config/fetch.txt} (100%) diff --git

[PATCH 43/78] config.txt: move mailinfo.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 7 +-- Documentation/config/mailinfo.txt | 6 ++ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 Documentation/config/mailinfo.txt diff --git a/Documentation/config.txt

[PATCH 44/78] config.txt: move mailmap.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 16 +--- Documentation/config/mailmap.txt | 15 +++ 2 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 Documentation/config/mailmap.txt diff --git a/Documentation/config.txt

[PATCH 39/78] config.txt: move init.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 4 +--- Documentation/config/init.txt | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 Documentation/config/init.txt diff --git a/Documentation/config.txt b/Documentation/config.txt index

[PATCH 26/78] config.txt: move gc.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 109 +--- Documentation/config/gc.txt | 108 +++ 2 files changed, 109 insertions(+), 108 deletions(-) create mode 100644 Documentation/config/gc.txt diff --git

[PATCH 28/78] config.txt: move gitweb.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 17 + Documentation/config/gitweb.txt | 16 2 files changed, 17 insertions(+), 16 deletions(-) create mode 100644 Documentation/config/gitweb.txt diff --git a/Documentation/config.txt

[PATCH 34/78] config.txt: move ssh.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 38 ++-- Documentation/config/ssh.txt | 35 + 2 files changed, 37 insertions(+), 36 deletions(-) create mode 100644 Documentation/config/ssh.txt diff --git

[PATCH 41/78] config.txt: move interactive.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 17 + Documentation/config/interactive.txt | 16 2 files changed, 17 insertions(+), 16 deletions(-) create mode 100644 Documentation/config/interactive.txt diff --git

[PATCH 45/78] config.txt: move man.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 13 + Documentation/config/man.txt | 12 2 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 Documentation/config/man.txt diff --git a/Documentation/config.txt

[PATCH 32/78] config.txt: move guitool.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 51 +--- Documentation/config/guitool.txt | 50 +++ 2 files changed, 51 insertions(+), 50 deletions(-) create mode 100644 Documentation/config/guitool.txt diff

[PATCH 65/78] config.txt: move splitIndex.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 25 + Documentation/config/splitindex.txt | 24 2 files changed, 25 insertions(+), 24 deletions(-) create mode 100644 Documentation/config/splitindex.txt diff --git

[PATCH 77/78] config.txt: move worktree.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 10 +- Documentation/config/worktree.txt | 9 + 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 Documentation/config/worktree.txt diff --git a/Documentation/config.txt

[PATCH 66/78] config.txt: move status.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 73 + Documentation/config/status.txt | 72 2 files changed, 73 insertions(+), 72 deletions(-) create mode 100644 Documentation/config/status.txt diff

[PATCH 42/78] config.txt: move log.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 44 +--- Documentation/config/log.txt | 43 +++ 2 files changed, 44 insertions(+), 43 deletions(-) create mode 100644 Documentation/config/log.txt diff --git

[PATCH 71/78] config.txt: move uploadarchive.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 7 +-- Documentation/config/uploadarchive.txt | 6 ++ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 Documentation/config/uploadarchive.txt diff --git a/Documentation/config.txt

[PATCH 56/78] config.txt: move receive-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{receive-config.txt => config/receive.txt} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Documentation/{receive-config.txt => config/receive.txt} (100%) diff

[PATCH 46/78] config.txt: move merge-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{merge-config.txt => config/merge.txt} | 4 ++-- Documentation/git-merge.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename

[PATCH 40/78] config.txt: move instaweb.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 21 + Documentation/config/instaweb.txt | 20 2 files changed, 21 insertions(+), 20 deletions(-) create mode 100644 Documentation/config/instaweb.txt diff --git

[PATCH 50/78] config.txt: move pager.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 9 + Documentation/config/pager.txt | 8 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 Documentation/config/pager.txt diff --git a/Documentation/config.txt b/Documentation/config.txt

[PATCH 48/78] config.txt: move notes.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 60 +- Documentation/config/notes.txt | 59 + 2 files changed, 60 insertions(+), 59 deletions(-) create mode 100644 Documentation/config/notes.txt diff --git

[PATCH 61/78] config.txt: move reset.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 3 +-- Documentation/config/reset.txt | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 Documentation/config/reset.txt diff --git a/Documentation/config.txt b/Documentation/config.txt index

[PATCH 38/78] config.txt: move index.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 11 +-- Documentation/config/index.txt | 10 ++ 2 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 Documentation/config/index.txt diff --git a/Documentation/config.txt

[PATCH 62/78] config.txt: move sendemail-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{sendemail-config.txt => config/sendemail.txt} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Documentation/{sendemail-config.txt => config/sendemail.txt}

[PATCH 20/78] config.txt: move fastimport.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 9 + Documentation/config/fastimport.txt | 8 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 Documentation/config/fastimport.txt diff --git a/Documentation/config.txt

[PATCH 64/78] config.txt: move showBranch.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 4 +--- Documentation/config/showbranch.txt | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 Documentation/config/showbranch.txt diff --git a/Documentation/config.txt

[PATCH 49/78] config.txt: move pack.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 121 +- Documentation/config/pack.txt | 120 + 2 files changed, 121 insertions(+), 120 deletions(-) create mode 100644 Documentation/config/pack.txt diff

[PATCH 59/78] config.txt: move repack.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 28 +--- Documentation/config/repack.txt | 27 +++ 2 files changed, 28 insertions(+), 27 deletions(-) create mode 100644 Documentation/config/repack.txt diff --git

[PATCH 74/78] config.txt: move user.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 27 +-- Documentation/config/user.txt | 26 ++ 2 files changed, 27 insertions(+), 26 deletions(-) create mode 100644 Documentation/config/user.txt diff --git

[PATCH 57/78] config.txt: move remote.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 79 + Documentation/config/remote.txt | 78 2 files changed, 79 insertions(+), 78 deletions(-) create mode 100644 Documentation/config/remote.txt diff

[PATCH 75/78] config.txt: move versionsort.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 34 +--- Documentation/config/versionsort.txt | 33 +++ 2 files changed, 34 insertions(+), 33 deletions(-) create mode 100644 Documentation/config/versionsort.txt diff

[PATCH 58/78] config.txt: move remotes.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 4 +--- Documentation/config/remotes.txt | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 Documentation/config/remotes.txt diff --git a/Documentation/config.txt b/Documentation/config.txt

[PATCH 69/78] config.txt: move tag.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 17 + Documentation/config/tag.txt | 16 2 files changed, 17 insertions(+), 16 deletions(-) create mode 100644 Documentation/config/tag.txt diff --git a/Documentation/config.txt

[PATCH 76/78] config.txt: move web.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 5 + Documentation/config/web.txt | 4 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 Documentation/config/web.txt diff --git a/Documentation/config.txt b/Documentation/config.txt index

[PATCH 60/78] config.txt: move rerere.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 13 + Documentation/config/rerere.txt | 12 2 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 Documentation/config/rerere.txt diff --git a/Documentation/config.txt

[PATCH 78/78] config.txt: remove config/dummy.txt

2018-10-27 Thread Nguyễn Thái Ngọc Duy
This file was only needed when config directory was empty. Now that the directory is fully populated, it can be deleted. Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config/dummy.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 Documentation/config/dummy.txt

[PATCH 72/78] config.txt: move uploadpack.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 66 + Documentation/config/uploadpack.txt | 65 2 files changed, 66 insertions(+), 65 deletions(-) create mode 100644 Documentation/config/uploadpack.txt diff

[PATCH 53/78] config.txt: move pull-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{pull-config.txt => config/pull.txt} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Documentation/{pull-config.txt => config/pull.txt} (100%) diff --git

[PATCH 68/78] config.txt: move submodule.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{submodule-config.txt => config/submodule.txt} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Documentation/{submodule-config.txt => config/submodule.txt}

[PATCH 70/78] config.txt: move transfer.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 72 +-- Documentation/config/transfer.txt | 71 ++ 2 files changed, 72 insertions(+), 71 deletions(-) create mode 100644 Documentation/config/transfer.txt diff

[PATCH 52/78] config.txt: move protocol.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 65 +-- Documentation/config/protocol.txt | 64 ++ 2 files changed, 65 insertions(+), 64 deletions(-) create mode 100644 Documentation/config/protocol.txt diff

[PATCH 18/78] config.txt: move diff-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{diff-config.txt => config/diff.txt} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Documentation/{diff-config.txt => config/diff.txt} (99%) diff --git

[PATCH 73/78] config.txt: move url.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 31 +-- Documentation/config/url.txt | 30 ++ 2 files changed, 31 insertions(+), 30 deletions(-) create mode 100644 Documentation/config/url.txt diff --git

[PATCH 54/78] config.txt: move push-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{push-config.txt => config/push.txt} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Documentation/{push-config.txt => config/push.txt} (100%) diff --git

[PATCH 47/78] config.txt: move mergetool.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 54 +- Documentation/config/mergetool.txt | 53 + 2 files changed, 54 insertions(+), 53 deletions(-) create mode 100644 Documentation/config/mergetool.txt diff

[PATCH 63/78] config.txt: move sequencer.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 6 +- Documentation/config/sequencer.txt | 5 + 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 Documentation/config/sequencer.txt diff --git a/Documentation/config.txt

[PATCH 55/78] config.txt: move rebase-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{rebase-config.txt => config/rebase.txt} | 0 Documentation/git-rebase.txt | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename

[PATCH 51/78] config.txt: move pretty.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 10 +- Documentation/config/pretty.txt | 9 + 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 Documentation/config/pretty.txt diff --git a/Documentation/config.txt

[PATCH 67/78] config.txt: move stash.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 10 +- Documentation/config/stash.txt | 9 + 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 Documentation/config/stash.txt diff --git a/Documentation/config.txt

[PATCH 01/10] thread-utils: macros to unconditionally compile pthreads API

2018-10-27 Thread Nguyễn Thái Ngọc Duy
When built with NO_PTHREADS, the macros are used make the code build even though pthreads header and library may be missing. The code can still have different code paths for no threads support with HAVE_THREADS variable. There are of course impacts on no-pthreads builds: - data structure may get

[PATCH 02/10] index-pack: remove #ifdef NO_PTHREADS

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/index-pack.c | 68 1 file changed, 18 insertions(+), 50 deletions(-) diff --git a/builtin/index-pack.c b/builtin/index-pack.c index 2004e25da2..bbd66ca025 100644 --- a/builtin/index-pack.c +++

[PATCH 00/10] Reduce #ifdef NO_PTHREADS

2018-10-27 Thread Nguyễn Thái Ngọc Duy
People seemed to support the idea of removing these #ifdef NO_PTHREADS [1] so this is a complete series. I left the #ifdef in run-command.c and transport-helper.c because those code looked complicated so perhaps we could clean them up later. Even these updated files could be updated more, I think,

Re: [PATCH] Clear --exclude list after 'git rev-parse --all'

2018-10-27 Thread Junio C Hamano
Jeff King writes: >> I actually was hoping to see a test that contrasts "--all" (which >> lacks the alleged "clear exclude" bug) with another option that does >> have the "clear exclude", both used with rev-parse, i.e. >> >> $ git rev-parse --exclude='*' --glob='*' --glob='*' >> ... all

can we deprecate NO_PTHREADS?, was: better wrapper to avoid #ifdef NO_PTHREADS

2018-10-27 Thread Jeff King
On Fri, Oct 26, 2018 at 10:09:46AM -0400, Ben Peart wrote: > > Yeah, I don't think carrying around a handful of ints is going to be a > > big deal. > > Just to be complete, there _is_ an additional cost. Today, code paths that > are only executed when there are pthreads available are excluded

[PATCH 08/10] pack-objects: remove #ifdef NO_PTHREADS

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/pack-objects.c | 26 ++ pack-objects.h | 6 -- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index b059b86aee..12edd6da16 100644 ---

[PATCH 07/10] preload-index.c: remove #ifdef NO_PTHREADS

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- preload-index.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/preload-index.c b/preload-index.c index 9e7152ab14..0e24886aca 100644 --- a/preload-index.c +++ b/preload-index.c @@ -7,17 +7,7 @@ #include "fsmonitor.h"

[PATCH 09/10] read-cache.c: remove #ifdef NO_PTHREADS

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- read-cache.c | 49 ++--- 1 file changed, 18 insertions(+), 31 deletions(-) diff --git a/read-cache.c b/read-cache.c index d57958233e..ba870bc3fd 100644 --- a/read-cache.c +++ b/read-cache.c @@ -1920,19 +1920,15

[PATCH 10/10] Clean up pthread_create() error handling

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Normally pthread_create() rarely fails and sometimes error handling can be neglected. But with new pthreads wrapper, pthread_create() will return ENOSYS on a system without thread support. Threaded code _is_ protected by HAVE_THREADS and pthread_create() should never run in the first place. But

Re: [PATCH 01/10] thread-utils: macros to unconditionally compile pthreads API

2018-10-27 Thread Duy Nguyen
On Sat, Oct 27, 2018 at 9:31 AM Jeff King wrote: > > +#define pthread_setspecific(key, data) > > +#define pthread_getspecific(key) NULL > > We expect to be able to store a void pointer here and get it back, which > should work even for a single thread. Do we need something like: > > extern void

Re: [PATCH 05/10] send-pack.c: remove #ifdef NO_PTHREADS

2018-10-27 Thread Jeff King
On Sat, Oct 27, 2018 at 09:09:58AM +0200, Nguyễn Thái Ngọc Duy wrote: > While at there correct "#include cache.h" position. It must be one of > the first includes. > [...] > @@ -1,4 +1,5 @@ > #include "builtin.h" > +#include "cache.h" I think it's actually fine as it is. The rule is not about

[RFC PATCH] remote: add --fetch option to git remote set-url

2018-10-27 Thread Denton Liu
This adds the --fetch option to `git remote set-url` such that when executed we move the remote.*.url to remote.*.pushurl and set remote.*.url to the given url argument. For example, if we have the following config: [remote "origin"] url = g...@github.com:git/git.git

[PATCH v2 sg/test-rebase-editor-fix] t3404-rebase-interactive: test abbreviated commands

2018-10-27 Thread Johannes Sixt
Make sure that each short command is tested at least once. To not exacerbate the runtime of the test script, do not add new tests, but modify existing ones according to these criteria: - The test does not have a prerequisite. - The 'git rebase' command is not guarded by test_must_fail. The pick

Re: [PATCH] i18n: make GETTEXT_POISON a runtime option

2018-10-27 Thread Ævar Arnfjörð Bjarmason
On Sat, Oct 27 2018, Jeff King wrote: > On Fri, Oct 26, 2018 at 09:20:56PM +0200, Ævar Arnfjörð Bjarmason wrote: > >> >> I was thinking: >> >> >> >> $ git var -e GIT_WHATEVER_ENV >> >> >> >> [-e for environment]. >> >> >> >> ... but that is really no different than git-config. ;-) >> > >> >

Re: [RFC PATCH] index-pack: improve performance on NFS

2018-10-27 Thread Ævar Arnfjörð Bjarmason
On Sat, Oct 27 2018, Jeff King wrote: > On Sat, Oct 27, 2018 at 04:26:50PM +0900, Junio C Hamano wrote: > >> Ævar Arnfjörð Bjarmason writes: >> >> > But as Junio notes the devil's in the details, another one I thought of >> > is: >> > >> > GIT_OBJECT_DIRECTORY=/some/other/repository git

Re: [PATCH 2/3] ewok_rlw.h: add missing 'inline' to function definition

2018-10-27 Thread Jeff King
On Sat, Oct 27, 2018 at 02:52:05AM +0100, Ramsay Jones wrote: > The 'ewok_rlw.h' header file contains the rlw_get_run_bit() function > definition, which is marked as 'static' but not 'inline'. At least when > compiled by gcc, with the default -O2 optimization level, the function > is actually

Re: What's cooking in git.git (Oct 2018, #05; Fri, 26)

2018-10-27 Thread Jeff King
On Fri, Oct 26, 2018 at 08:45:12PM -0700, Taylor Blau wrote: > On Fri, Oct 26, 2018 at 04:57:26PM +0900, Junio C Hamano wrote: > > * tb/filter-alternate-refs (2018-10-25) 2 commits > > (merged to 'next' on 2018-10-26 at 887a7779a3) > > + t5410: use longer path for sample script > > +

Re: [PATCH] Poison gettext with the Ook language

2018-10-27 Thread Junio C Hamano
Jeff King writes: > I.e., could we mostly ignore this problem as not applying to most modern > systems? And if there is such a system, give it a fallback like: > > /* >* For systems that use a single buffer for getenv(), this hacks >* around it by giving it _four_ buffers. That's just

[PATCH 06/10] grep: remove #ifdef NO_PTHREADS

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/grep.c | 58 +- grep.c | 6 -- grep.h | 6 -- 3 files changed, 20 insertions(+), 50 deletions(-) diff --git a/builtin/grep.c b/builtin/grep.c index d8508ddf79..29221e1003

[PATCH 03/10] name-hash.c: remove #ifdef NO_PTHREADS

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- name-hash.c | 22 -- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/name-hash.c b/name-hash.c index 1fcda73cb3..b3c9ac791d 100644 --- a/name-hash.c +++ b/name-hash.c @@ -7,6 +7,7 @@ */ #define

[PATCH 04/10] attr.c: remove #ifdef NO_PTHREADS

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- attr.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/attr.c b/attr.c index 60d284796d..eaece6658d 100644 --- a/attr.c +++ b/attr.c @@ -41,23 +41,17 @@ const char *git_attr_name(const struct git_attr *attr) struct attr_hashmap {

[PATCH 05/10] send-pack.c: remove #ifdef NO_PTHREADS

2018-10-27 Thread Nguyễn Thái Ngọc Duy
While at there correct "#include cache.h" position. It must be one of the first includes. Signed-off-by: Nguyễn Thái Ngọc Duy --- send-pack.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/send-pack.c b/send-pack.c index e920ca57df..fa7dc44b36 100644 ---

Re: [PATCH/RFC] thread-utils: better wrapper to avoid #ifdef NO_PTHREADS

2018-10-27 Thread Duy Nguyen
On Fri, Oct 26, 2018 at 4:09 PM Ben Peart wrote: > I agree though I'm still curious if there are still no-threaded > platforms taking new versions of git. Perhaps we should do the > depreciation warning you suggested elsewhere and see how much push back > we get. It's unlikely we'd get lucky

Re: [RFC PATCH] index-pack: improve performance on NFS

2018-10-27 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > But as Junio notes the devil's in the details, another one I thought of > is: > > GIT_OBJECT_DIRECTORY=/some/other/repository git clone ... > > It seems to me that ... Actually I take all of that back ;-) For the purpose of this patch, use of existing

Re: [PATCH/RFC] thread-utils: better wrapper to avoid #ifdef NO_PTHREADS

2018-10-27 Thread Jeff King
On Sat, Oct 27, 2018 at 09:26:28AM +0200, Duy Nguyen wrote: > On Fri, Oct 26, 2018 at 4:09 PM Ben Peart wrote: > > I agree though I'm still curious if there are still no-threaded > > platforms taking new versions of git. Perhaps we should do the > > depreciation warning you suggested elsewhere

[PATCH] wildmatch: change behavior of "foo**bar" in WM_PATHNAME mode

2018-10-27 Thread Nguyễn Thái Ngọc Duy
In WM_PATHNAME mode (or FNM_PATHNAME), '*' does not match '/' and '**' can but only in three patterns: - '**/' matches zero or more leading directories - '/**/' matches zero or more directories in between - '/**' matches zero or more trailing directories/files When '**' is present but not in one

Re: [PATCH v4 10/12] Add a base implementation of SHA-256 support

2018-10-27 Thread Christian Couder
On Thu, Oct 25, 2018 at 4:42 AM brian m. carlson wrote: > +static void blk_SHA256_Transform(blk_SHA256_CTX *ctx, const unsigned char > *buf) > +{ > + > + uint32_t S[8], W[64], t0, t1; > + int i; > + > + /* copy state into S */ > + for (i = 0; i < 8; i++) { > +

Hallo Freund

2018-10-27 Thread Wang jianlin
Ich beabsichtige, Ihnen einen Teil meines Vermögens als freiwillige finanzielle Spende an Sie zu geben. Wang Jianlin Wanda Gruppe

Re: [RFC PATCH] index-pack: improve performance on NFS

2018-10-27 Thread Jeff King
On Sat, Oct 27, 2018 at 04:26:50PM +0900, Junio C Hamano wrote: > Ævar Arnfjörð Bjarmason writes: > > > But as Junio notes the devil's in the details, another one I thought of > > is: > > > > GIT_OBJECT_DIRECTORY=/some/other/repository git clone ... > > > > It seems to me that ... > >

[PATCH 31/78] config.txt: move gui-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{gui-config.txt => config/gui.txt} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Documentation/{gui-config.txt => config/gui.txt} (100%) diff --git

[PATCH 00/78] nd/config-split reroll

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Compared to the version on 'pu', this one moves all the config files to Documentation/config/ directory. imap.* is also added back in config.txt (curently only documented in git-imap-send.txt) This one is built on top of bp/reset-quiet and js/mingw-http-ssl to avoid non-trivial conflicts. I

[PATCH 13/78] config.txt: move color.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 202 + Documentation/config/color.txt | 201 2 files changed, 202 insertions(+), 201 deletions(-) create mode 100644 Documentation/config/color.txt diff

[PATCH 22/78] config.txt: move filter.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 10 +- Documentation/config/filter.txt | 9 + 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 Documentation/config/filter.txt diff --git a/Documentation/config.txt

[PATCH 36/78] config.txt: move i18n.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 11 +-- Documentation/config/i18n.txt | 10 ++ 2 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 Documentation/config/i18n.txt diff --git a/Documentation/config.txt

[PATCH 33/78] config.txt: move help.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 24 +--- Documentation/config/help.txt | 23 +++ 2 files changed, 24 insertions(+), 23 deletions(-) create mode 100644 Documentation/config/help.txt diff --git

[PATCH 23/78] config.txt: move format-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{format-config.txt => config/format.txt} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Documentation/{format-config.txt => config/format.txt} (100%) diff --git

[PATCH 24/78] config.txt: move fmt-merge-msg-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Note that this file is not directly included in config.txt but through merge-config.txt and it's in "merge" section instead of a separate "fmtMergeMsg" section like others. Signed-off-by: Nguyễn Thái Ngọc Duy --- .../{fmt-merge-msg-config.txt => config/fmt-merge-msg.txt} | 0

[PATCH 12/78] config.txt: move clean.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 4 +--- Documentation/config/clean.txt | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 Documentation/config/clean.txt diff --git a/Documentation/config.txt b/Documentation/config.txt index

[PATCH 27/78] config.txt: move gitcvs-config.txt to config/

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 2 +- Documentation/{gitcvs-config.txt => config/gitcvs.txt} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Documentation/{gitcvs-config.txt => config/gitcvs.txt} (100%) diff --git

[PATCH 02/78] config.txt: move advice.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt| 88 + Documentation/config/advice.txt | 86 2 files changed, 87 insertions(+), 87 deletions(-) create mode 100644 Documentation/config/advice.txt diff

[PATCH 04/78] config.txt: move add.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 8 +--- Documentation/config/add.txt | 7 +++ 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 Documentation/config/add.txt diff --git a/Documentation/config.txt b/Documentation/config.txt index

[PATCH 01/78] Update makefile in preparation for Documentation/config/*.txt

2018-10-27 Thread Nguyễn Thái Ngọc Duy
config.txt is going to be broken down in smaller pieces and put under Documentation/config directory. Update build rules to take these files into account. A dummy file is added to make sure wildcard expansion is predictable (depending on shell setting it could expand to nothing or becomes a path

[PATCH 11/78] config.txt: move checkout.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 24 +--- Documentation/config/checkout.txt | 23 +++ 2 files changed, 24 insertions(+), 23 deletions(-) create mode 100644 Documentation/config/checkout.txt diff --git

[PATCH 10/78] config.txt: move browser.* to a separate file

2018-10-27 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/config.txt | 10 +- Documentation/config/browser.txt | 9 + 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 Documentation/config/browser.txt diff --git a/Documentation/config.txt

  1   2   >