Re: [PATCHv3 0/3] Implements the GIT_TRACE_CURL environment variable

2016-04-20 Thread Ramsay Jones
idn't find anything blatantly wrong ;-). Will > nitpick individual patches later but I expect that it would be > sufficient to locally tweak while queuing without rerolling. I have one small issue ... ATB, Ramsay Jones -- To unsubscribe from this list: send the line "unsubscribe git&

Re: [PATCHv3 3/3] http.c: implements the GIT_TRACE_CURL environment variable

2016-04-20 Thread Ramsay Jones
degree of detail of GIT_CURL_VERBOSE, in particular >> the complete transport header and all the data payload exchanged. >> It might be useful if a particular situation could require a more >> thorough debugging analysis. >> >> Helped-by: Torsten Bögershausen >> Helped

make test Unexpected passes

2016-04-22 Thread Ramsay Jones
?), so I thought I would just make sure you were aware of these 'unexpected passes'. ATB, Ramsay Jones -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 00/83] libify apply and use lib in am

2016-04-24 Thread Ramsay Jones
`, when it uses the am backend, is also significantly > faster. I just tried to git-am these patches, but patch #78 did not make it to the list. (Also, patches #59 and #62 both issue a 'new blank line at EOF' warning). ATB, Ramsay Jones -- To unsubscribe from this list: send the li

[PATCH] convert.c: fix some sparse warnings

2016-04-24 Thread Ramsay Jones
Sparse complains thus: SP convert.c convert.c:178:24: warning: Using plain integer as NULL pointer convert.c:239:28: warning: dubious: !x & y Signed-off-by: Ramsay Jones --- Hi Torsten, When you next re-roll your 'tb/convert-eol-autocrlf' branch, could you please sq

Re: [PATCH 00/83] libify apply and use lib in am

2016-04-24 Thread Ramsay Jones
On 24/04/16 17:56, Christian Couder wrote: > On Sun, Apr 24, 2016 at 6:27 PM, Christian Couder > wrote: >> On Sun, Apr 24, 2016 at 5:23 PM, Ramsay Jones >> wrote: >>> >>> >>> On 24/04/16 14:33, Christian Couder wrote: >>>> This is a pa

Re: [PATCH] remote.c: spell __attribute__ correctly

2016-04-25 Thread Ramsay Jones
t;>> VS (or another file) setting __GNUC__? >> >> Of course it helps if we spell the name right... Indeed! ;-) Not that it matters, but the above #define in git-compat-util.h is not the relevant definition - msvc will not see it. However, it does see the #define on line 12 of comp

Re: [PATCH] config doc: improve exit code listing

2016-04-26 Thread Ramsay Jones
t=1), > +- the config file is invalid (ret=3), > +- the config file cannot be written (ret=4), > - you try to unset an option which does not exist (ret=5), > - you try to unset/set an option for which multiple lines match (ret=5), or > - you try to use an invalid regexp (ret=6). >

Re: [PATCH] config doc: improve exit code listing

2016-04-26 Thread Ramsay Jones
On 26/04/16 20:18, Stefan Beller wrote: > On Tue, Apr 26, 2016 at 12:11 PM, Ramsay Jones > wrote: >> >> >> On 26/04/16 19:10, Stefan Beller wrote: >>> The possible reasons for exiting are now ordered by the exit code value. >>> While at it, rewrite

Re: [PATCHv5 1/2] http.c: implement the GIT_TRACE_CURL environment variable

2016-05-02 Thread Ramsay Jones
public symbol. (I would also re-order the function definitions, so that setup_curl_trace() comes after curl_trace(), but that is a minor point). ATB, Ramsay Jones -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More

t7063-status-untracked-cache.sh test failure on next

2015-10-21 Thread Ramsay Jones
p', since I can't debug it. :( ATB, Ramsay Jones -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v3 00/34] libify mailinfo and call it directly from am

2015-10-21 Thread Ramsay Jones
ssys 0m0.154s > The corresponding times for me were: (master) (with the series) real 0m9.760s real 0m5.744s user 0m0.531s user 0m0.656s sys 0m5.726s sys 0m3.520s So, yes, a noticeable improvement! :) HTH ATB, Ramsay Jone

Re: t7063-status-untracked-cache.sh test failure on next

2015-10-21 Thread Ramsay Jones
On 21/10/15 17:05, Torsten Bögershausen wrote: > On 21.10.15 16:37, Ramsay Jones wrote: >> Hi Junio, >> >> While testing the next branch today, I had a test failure, viz: >> >> $ tail ntest-out-fail >> Test Summary Report >> -

Re: t7063-status-untracked-cache.sh test failure on next

2015-10-21 Thread Ramsay Jones
On 21/10/15 18:50, David Turner wrote: > On Wed, 2015-10-21 at 18:05 +0200, Torsten Bögershausen wrote: >> On 21.10.15 16:37, Ramsay Jones wrote: >>> Hi Junio, >>> >>> While testing the next branch today, I had a test failure, viz: >>> >>>

Re: [PATCHv2 0/8] Expose the submodule parallelism to the user

2015-10-29 Thread Ramsay Jones
b/Documentation/git-clone.txt > @@ -216,9 +216,10 @@ objects from the source repository into a pack in the > cloned repository. > The result is Git repository can be separated from working > tree. > > --j:: > ---jobs:: > +-j :: > +--jobs :: > The number of

Re: [PATCHv2 0/8] Expose the submodule parallelism to the user

2015-10-29 Thread Ramsay Jones
On 29/10/15 15:51, Stefan Beller wrote: > On Thu, Oct 29, 2015 at 6:19 AM, Ramsay Jones > wrote: > >> Hmm, is there a way to _not_ fetch in parallel (override the >> config) from the command line for a given command? >> >> ATB, >> Ramsay Jones > >

Re: Bug: t5813 failing on Cygwin

2015-11-07 Thread Ramsay Jones
oincidence rather than it being particularly related to the >> function those tests are actually testing. > > Looks like lib-proto-disable.sh's fake SSH doesn't strip double leading > /'es from the path. Try this patch: > > diff --git a/t/t5813-proto-disable-ssh.sh

Re: Bug: t5813 failing on Cygwin

2015-11-07 Thread Ramsay Jones
On 07/11/15 21:21, Ramsay Jones wrote: > > > On 07/11/15 21:02, Dennis Kaarsemaker wrote: >> On za, 2015-11-07 at 19:20 +, Adam Dinwoodie wrote: >>> On Sat, Nov 07, 2015 at 01:45:27PM -0500, Jeff King wrote: >>>> On Sat, Nov 07, 2015 at 12

Re: Bug: t5813 failing on Cygwin

2015-11-07 Thread Ramsay Jones
On 07/11/15 23:32, Dennis Kaarsemaker wrote: > On za, 2015-11-07 at 23:05 +0000, Ramsay Jones wrote: >> >> On 07/11/15 21:21, Ramsay Jones wrote: >>> >>> >>> On 07/11/15 21:02, Dennis Kaarsemaker wrote: >>>> On za, 2015-11-07 at 19:20 +,

Re: Bug: t5813 failing on Cygwin

2015-11-08 Thread Ramsay Jones
that bug, I hadn't given any thought to whether cygwin (let alone git) supported the UNC notation. At that time, I did spend a little time trying to determine if it worked, but for some reason I just couldn't get a network share configured properly. It kept on giving me 'permission den

Re: [PATCH v7 01/11] refs: make is_branch public

2015-11-09 Thread Ramsay Jones
derstand, is_branch() is already declared in refs.h, see line 67. This is true in master, next and pu now appears to have two declarations. ATB, Ramsay Jones -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v7 07/11] refs/refs-internal.h: new header file

2015-11-09 Thread Ramsay Jones
d the remainder of the patch and noticed that the 'internal' header #included the 'public' interface header. Unfortunately, this still feels wrong to me! I would rather that the internal header _not_ include the public header (so, include them _both_ when necessary). Just my opin

[PATCH] http: fix some printf format warnings on 32-bit builds

2015-11-10 Thread Ramsay Jones
it integer. This results in a couple of printf format warnings. In order to suppress the warnings, change the format specifier to use the PRIuMAX macro and cast the off_t argument to uintmax_t. (See also the http_opt_request_remainder() function, which uses the same solution). Signed-off-by: Ra

Re: [PATCH] http: fix some printf format warnings on 32-bit builds

2015-11-11 Thread Ramsay Jones
On 11/11/15 01:22, Eric Sunshine wrote: > On Tue, Nov 10, 2015 at 7:23 PM, Ramsay Jones > wrote: >> Commit f8117f55 ("http: use off_t to store partial file size", >> 02-11-2015) changed the type of some variables from long to off_t. >> The 32-bit build,

Re: [PATCH] http: fix some printf format warnings on 32-bit builds

2015-11-11 Thread Ramsay Jones
On 11/11/15 02:00, Stefan Beller wrote: > On Tue, Nov 10, 2015 at 5:22 PM, Eric Sunshine > wrote: >> On Tue, Nov 10, 2015 at 7:23 PM, Ramsay Jones >> wrote: >>> Commit f8117f55 ("http: use off_t to store partial file size", >>> 02-11-2015) changed

Re: [PATCH] http: fix some printf format warnings on 32-bit builds

2015-11-11 Thread Ramsay Jones
On 11/11/15 20:31, Eric Sunshine wrote: > On Wed, Nov 11, 2015 at 12:47 PM, Ramsay Jones > wrote: >> On 11/11/15 01:22, Eric Sunshine wrote: >>> On Tue, Nov 10, 2015 at 7:23 PM, Ramsay Jones >>> wrote: >>> My machine is 64-bit, though, so perhaps it

[PATCH] http: fix some printf format warnings

2015-11-11 Thread Ramsay Jones
uintmax_t. (See also the http_opt_request_remainder() function, which uses the same solution). Signed-off-by: Ramsay Jones --- http.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/http.c b/http.c index 42f29ce..2532976 100644 --- a/http.c +++ b/http.c @@ -1617

Re: [PATCH] http: fix some printf format warnings on 32-bit builds

2015-11-12 Thread Ramsay Jones
"%ld", and print > the lower part of long_long_var. > And will not pull a long long from stack, but a long, resulting i all kinds > of confusion > > So whenever a long long is printed, I can warmly recommend to use > > PRId64 Indeed. ATB, Ramsay Jones -- To unsub

Re: [PATCH] http: fix some printf format warnings on 32-bit builds

2015-11-13 Thread Ramsay Jones
On 13/11/15 08:57, Eric Sunshine wrote: > On Fri, Nov 13, 2015 at 3:46 AM, Lars Schneider > wrote: >> On 11 Nov 2015, at 18:49, Ramsay Jones wrote: >>> On 11/11/15 02:00, Stefan Beller wrote: >>>> On Tue, Nov 10, 2015 at 5:22 PM, Eric Sunshine >>>&

[PATCH] test-lib-functions: fix logic error in test_must_fail

2015-11-24 Thread Ramsay Jones
mparing the exit code, rather than the string = operator. Signed-off-by: Ramsay Jones --- Hi Lars, This patch is on top of the pu branch, but it relates to the two patches on your 'ls/test-must-fail-sigpipe' branch. Could you please squash the relevant parts of this patch into your patches. S

Re: [PATCH v3] ls-files: Add eol diagnostics

2015-11-24 Thread Ramsay Jones
is classic bikeshedding on the naming of things and I am, in general, hopeless at naming things ... :-D ] I don't think you need to include 'text' in the name of the line ending descriptors - if its not binary then its some form of text. So, maybe something like: binary n

Re: [PATCH] test-lib-functions: fix logic error in test_must_fail

2015-11-24 Thread Ramsay Jones
On 24/11/15 21:08, Jeff King wrote: > On Tue, Nov 24, 2015 at 03:59:24PM +0000, Ramsay Jones wrote: > >> After commit 710eb805 ("implement test_might_fail using a refactored >> test_must_fail", 19-11-2015) several tests now unexpectedly pass: > > Thanks. I

[PATCH] convert.c: mark a file-local function static

2015-11-25 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Torsten, If you need to re-roll your 'tb/ls-files-eol' patch, could you please squash this into the patch. Thanks. ATB, Ramsay Jones convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert.c b/convert.c index c99adc

[PATCH] builtin/ff-refs.c: mark some file-local variables static

2015-11-25 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Michael, If you need to re-roll the patches in your 'mr/ff-refs' branch, could you please squash parts of this patch into the relevant patches from your branch. Thanks. Also, I note that gcc complains about the two calls to chdir(). (warning

[PATCH] test_must_fail: compare exit_code using integer -eq operator

2015-11-25 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Jeff, Can we squash this into your fixup? ATB, Ramsay Jones t/test-lib-functions.sh | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 85aeaf9..2bb639e 100644 --- a/t/test-lib

Re: [PATCH v1 1/2] implement test_might_fail using a refactored test_must_fail

2015-11-27 Thread Ramsay Jones
t;. This removes > redundancies in test-lib-function.sh. > > You can pass multiple arguments divided by comma (e.g. > "test_must_fail ok=success,something") > > Signed-off-by: Junio C Hamano > Signed-off-by: Jeff King >

[PATCH] ref-filter: mark some file-local functions static

2015-12-02 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Karthik, If you need to re-roll the patches in your 'kn/ref-filter-atom-parsing' branch, could you please squash the relevant parts of this patch into yours. Thanks! ATB, Ramsay Jones ref-filter.c | 10 +- 1 file changed, 5 insert

[PATCH] refs: mark some symbols static

2015-12-12 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi David, If you need to re-roll your 'dt/refs-backend-lmdb' branch, could you please squash the relevant parts of this patch into yours. [yes, I didn't reference the movement of the external declaration in the commit message! :-D ] Thanks! AT

[PATCH] dir: mark add_untracked_ident() as a file local symbol

2015-12-16 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Christian, If you need to re-roll your 'cc/untracked' branch, could you please squash the relevant parts of this into your patches. Thanks! Also, you may what to consider removing the emulation of uname() on MinGW, since this is no longer requ

Re: [PATCH v8] ls-files: Add eol diagnostics

2015-12-30 Thread Ramsay Jones
o", or core.autocrlf != false. > ++ > +"eolinfo" is either "" (when the the info is not available"), or one of > "binary", > +"text-no-eol", "text-lf", "text-crlf" or "text-crlf-lf". Again, I think this list reads better as: binary, none, lf, crlf and mixed. If you prefer to have 'text' in there somewhere, how about: binary, text-none, text-lf, text-crlf, text-mixed. :-D (I promise not the mention it again!) ATB, Ramsay Jones -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] dir.h: remove orphaned declaration

2015-12-30 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Christian, If you need to re-roll your 'cc/untracked' branch, could you please squash this into your patches. You seem to have only half applied my last fixup patch! ;-) (I'm guessing that you had already renamed the function locally before I

Re: ./t3310-notes-merge-manual-resolve.sh broken on pu under Mac OS ?

2015-12-31 Thread Ramsay Jones
ody have an idea here ? > > I'm unable to reproduce these failures on Mac. > This test failed during a short window (due to commit 2bd811ec) and has already been fixed in commit 3a74ea38 ("notes: allow merging from arbitrary references", 29-12-2015). ATB, Ramsay Jones -- T

Re: t6023 broken under Mac OS

2016-01-01 Thread Ramsay Jones
Hi Torsten, On 01/01/16 15:36, Torsten Bögershausen wrote: > The (last) test case > 'conflict markers contain CRLF when core.eol=crlf' > > does not work as expected under Mac OS: "wc -l" is not portable and the line > test $(sed -n "/\.txt\r$/p" output.txt | wc -l) = 3 > fails. Hmm, I have never

Re: t6023 broken under Mac OS

2016-01-01 Thread Ramsay Jones
On 01/01/16 17:49, Torsten Bögershausen wrote: > On 2016-01-01 18.14, Ramsay Jones wrote: >> Hi Torsten, >> >> On 01/01/16 15:36, Torsten Bögershausen wrote: >>> The (last) test case >>> 'conflict markers contain CRLF when core.eol=crlf' >>&

Re: [PATCH 1/2] t5403: Refactor

2018-12-28 Thread Ramsay Jones
isables access to Cygwin's executable attribute, > which Windows filesystems do not have at all. > > I wonder if this is still relevant these days (Cc'ed Ramsay for > input). Ah, no, the 'tricks we have to play with lstat' mentioned in that commit message are long gone! ;-) If you remove that conditional, then the test passes just fine. ATB, Ramsay Jones

Re: [PATCH v17 0/7] git bisect: convert from shell to C

2019-01-02 Thread Ramsay Jones
gt; + argv_array_clear(&argv); > -+ return -1; > ++ return error(_("could not check out original" > ++ " HEAD '%s'. Try 'git bisect" > ++ "reset '."), branch.buf); ... this 'branch.buf' will refer to the empty 'slopbuf', since the call to 'strbuf_release(&branch)' now precedes this call to error(). ATB, Ramsay Jones

[PATCH] revision.c: fix sparse warnings (sparse algorithm)

2019-01-13 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Derrick, If you need to re-roll your 'ds/push-sparse-tree-walk' branch, could you please squash this into the relevant patch [commit 9949aaeef4 ("revision: implement sparse algorithm", 2018-12-14)]. This commit caused both 'sparse

[PATCH] sequencer: mark file local symbols as static

2019-01-13 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Alban, If you need to re-roll your 'ag/sequencer-reduce-rewriting-todo' branch, could you please squash this into the relevant patch [commit 45f215c912 ("rebase-interactive: use todo_list_write_to_file() in edit_todo_list()", 2018-12-2

[PATCH] rebase-interactive.h: fix hdr-check warnings

2019-01-13 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Alban, If you need to re-roll your 'ag/sequencer-reduce-rewriting-todo' branch, could you please squash this into the relevant patch [commit c27b32f0ec4 ("sequencer: refactor check_todo_list() to work on a todo_list", 2018-12-29)]. [Bot

[PATCH] config.h: fix hdr-check warnings

2019-01-13 Thread Ramsay Jones
rameters, before the declaration of 'struct repository'. Move the struct declaration to the top of the file. Signed-off-by: Ramsay Jones --- Hi Duy, If you need to re-roll your 'nd/config-move-to' branch, could you please squash this into the relevant patch (commit 8f7c7f).

[PATCH] repository.c: fix sparse warning

2019-01-16 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Duy, If you need to re-roll your 'nd/the-index-final' branch, could you please squash this into the relevant patch (commit 4478671442, "cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch", 2019-01-12). [the warning is caused by th

Re: [PATCH] repository.c: fix sparse warning

2019-01-17 Thread Ramsay Jones
On 17/01/2019 10:06, Duy Nguyen wrote: > On Thu, Jan 17, 2019 at 8:21 AM Ramsay Jones > wrote: >> >> >> Signed-off-by: Ramsay Jones >> --- >> >> Hi Duy, >> >> If you need to re-roll your 'nd/the-index-final' branch, could you

Re: [PATCH/RFC] fsck: complain when .gitignore and .gitattributes are symlinks

2019-01-17 Thread Ramsay Jones
> strbuf.o - strbuf_vinsertf $ BTW, if my memory serves (and it may not), the symbols you refer to came directly into 'master' (via 'maint') as a result of security updates - so I would never have seen them in 'pu' or 'next'. They are, indeed, currently noted in the 'master' branch: $ grep is_ntfs_ sc path.o - is_ntfs_dotgitattributes path.o - is_ntfs_dotgitignore $ grep is_hfs_ sc utf8.o - is_hfs_dotgitattributes utf8.o - is_hfs_dotgitignore $ ATB, Ramsay Jones

Re: [PATCH/RFC] fsck: complain when .gitignore and .gitattributes are symlinks

2019-01-22 Thread Ramsay Jones
On 22/01/2019 07:23, Jeff King wrote: > On Fri, Jan 18, 2019 at 01:41:08AM +0000, Ramsay Jones wrote: > >> I don't do this "from time to time", but *every* build on all >> platforms! :-D >> >> As I have mentioned before, I run the script on 'ma

Re: Git Test Coverage Report (Sat Jan 19)

2019-01-24 Thread Ramsay Jones
workflow (pasting the report into > Thunderbird and sending) than with the content itself. Have you read Doucmentation/git-format-patch.txt (Thunderbird> Approach #2 (configuration) - approx. line 487)? ATB, Ramsay Jones

[PATCH] test-xml-encode: fix sparse NULL pointer warnings

2019-01-26 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Johannes, If you need to re-roll your 'js/vsts-ci' branch, could you please squash this into the relevant patch (commit af7747e7c7 ("tests: optionally write results as JUnit-style .xml", 2019-01-23)). Thanks! ATB, Ramsay Jones t/help

[PATCH] trace2: fix hdr-check warnings

2019-01-26 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Jeff, If you need to re-roll your 'jh/trace2' branch, could you please squash this into the relevant patches (sorry, I didn't look to see which patches need to be modified). Thanks! ATB, Ramsay Jones trace2/tr2_tgt.h | 4 trace2/tr2_

Re: sparse job, was Re: [PATCH] test-xml-encode: fix sparse NULL pointer warnings

2019-01-28 Thread Ramsay Jones
On 28/01/2019 16:10, Johannes Schindelin wrote: > Hi Ramsay, > > On Sat, 26 Jan 2019, Ramsay Jones wrote: > >> >> Signed-off-by: Ramsay Jones >> --- >> >> Hi Johannes, >> >> If you need to re-roll your 'js/vsts-ci' branch,

Re: sparse job, was Re: [PATCH] test-xml-encode: fix sparse NULL pointer warnings

2019-01-28 Thread Ramsay Jones
On 28/01/2019 22:34, Johannes Schindelin wrote: > Hi Ramsay, > > On Mon, 28 Jan 2019, Ramsay Jones wrote: > >> Hmm, I've never built an Ubuntu package before, so I don't know >> exactly what would be required (spec file etc.) to create a PPA. >> But I

Re: sparse job, was Re: [PATCH] test-xml-encode: fix sparse NULL pointer warnings

2019-01-28 Thread Ramsay Jones
On 29/01/2019 01:52, Luc Van Oostenryck wrote: > On Mon, Jan 28, 2019 at 08:13:03PM +0000, Ramsay Jones wrote: > > Hi > >> The dependencies for the 'sparse' package includes: libc6 (>= 2.14), >> libllvm4.0 (>= 1:4.0~), libxml2 (>= 2.7.4), perl:any &g

Re: [PATCH v4 5/8] evolve: add the change-table structure

2019-02-01 Thread Ramsay Jones
b19c3bf..1c385e076e 100644 --- a/change-table.h +++ b/change-table.h @@ -50,10 +50,10 @@ struct change_head { * That is the ref was deleted since the time this struct was created. Such * entries should be ignored. */ - int abandoned:1, - hidden:1, - remote:1, - deleted:1; + unsigned int abandoned:1, + hidden:1, + remote:1, + deleted:1; }; /* -- >8 -- [Note: this diff was against the v3 series]. ATB, Ramsay Jones

[PATCH 0/1] Using sparse in a CI job

2019-02-01 Thread Ramsay Jones
.c $ echo $? 0 $ $ SPARSE_FLAGS=-Wsparse-error make pack-revindex.sp SP pack-revindex.c $ echo $? 0 $ Now, we should be able to run the sparse Makefile target in a CI job, and still find all sparse errors and warnings (now marked as errors also), using something like this: $

[PATCH 1/1] Makefile: improve SPARSE_FLAGS customisation

2019-02-01 Thread Ramsay Jones
t-specific rules in the Makefile (effectively making them useless). In addition, we initialise the SPARSE_FLAGS to the default (empty) value using a conditional assignment (?=). This allows the SPARSE_FLAGS to be set from the environment as well as from the command-line. Signed-off-by: Ra

Re: [PATCH 1/1] Makefile: improve SPARSE_FLAGS customisation

2019-02-02 Thread Ramsay Jones
On 01/02/2019 21:46, Junio C Hamano wrote: > Ramsay Jones writes: > >> In order to enable greater user customisation of the SPARSE_FLAGS >> variable, we introduce a new SP_EXTRA_FLAGS variable to use for >> target specific settings. Without using the new variable, set

Re: [PATCH 0/1] Using sparse in a CI job

2019-02-02 Thread Ramsay Jones
On 02/02/2019 00:41, SZEDER Gábor wrote: > On Fri, Feb 01, 2019 at 09:01:20PM +0000, Ramsay Jones wrote: [snip] >> At the moment, on Linux, the sp-out file is free from any sparse errors >> or warnings. So are next and pu: >> >> $ grep error sp-out >>

Re: [PATCH 0/1] Using sparse in a CI job

2019-02-03 Thread Ramsay Jones
On 01/02/2019 22:40, Luc Van Oostenryck wrote: > On Fri, Feb 01, 2019 at 09:01:20PM +0000, Ramsay Jones wrote: >> >> I suspect that the Makefile sparse target is not easy to use in a CI >> job, since the 'sparse' program (via cgcc -no-compile) does not exit >

Re: [PATCH 0/1] Using sparse in a CI job

2019-02-03 Thread Ramsay Jones
On 03/02/2019 12:12, SZEDER Gábor wrote: > On Sun, Feb 03, 2019 at 01:49:37AM +0000, Ramsay Jones wrote: >> On 02/02/2019 00:41, SZEDER Gábor wrote: >>> On Fri, Feb 01, 2019 at 09:01:20PM +, Ramsay Jones wrote: >>>> At the moment, on Linux, the sp-out file

Re: [PATCH 1/1] Makefile: improve SPARSE_FLAGS customisation

2019-02-04 Thread Ramsay Jones
On 04/02/2019 18:12, Junio C Hamano wrote: > Ramsay Jones writes: > >>> Thanks for a detailed and clear explanation here and in the cover >>> letter. I agree with the motivation and most of the things I see in >>> this patch, but one thing that stands out

Re: [PATCH] trace2: fix hdr-check warnings

2019-02-04 Thread Ramsay Jones
On 30/01/2019 12:29, Jeff Hostetler wrote: > > > On 1/26/2019 4:07 PM, Ramsay Jones wrote: >> >> Signed-off-by: Ramsay Jones >> --- >> >> Hi Jeff, >> >> If you need to re-roll your 'jh/trace2' branch, could you please >> sq

Re: [PATCH 1/1] Makefile: improve SPARSE_FLAGS customisation

2019-02-04 Thread Ramsay Jones
On 04/02/2019 20:15, Junio C Hamano wrote: > Ramsay Jones writes: > >> On 04/02/2019 18:12, Junio C Hamano wrote: >>> Ramsay Jones writes: >>> >>>>> Thanks for a detailed and clear explanation here and in the cover >>>>> letter.

[PATCH v2 0/2] Using sparse in a CI job

2019-02-04 Thread Ramsay Jones
ndex.sp SP pack-revindex.c $ echo $? 0 $ $ SPARSE_FLAGS=-Wsparse-error make pack-revindex.sp SP pack-revindex.c $ echo $? 0 $ Now, we should be able to run the sparse Makefile target in a CI job, and still find all sparse errors and warnings (now marked as err

[PATCH v2 1/2] config.mak.uname: remove obsolete SPARSE_FLAGS setting

2019-02-04 Thread Ramsay Jones
. Since 'sparse' does not currently support the MinGW platform, nobody on that platform can be relying on this setting today. Remove this use of the SPARSE_FLAGS variable. Signed-off-by: Ramsay Jones --- config.mak.uname | 1 - 1 file changed, 1 deletion(-) diff --git a/config.m

[PATCH v2 2/2] Makefile: improve SPARSE_FLAGS customisation

2019-02-04 Thread Ramsay Jones
onditional assignment (?=). This allows SPARSE_FLAGS to be set from the environment as well as from the command-line. Signed-off-by: Ramsay Jones --- Makefile | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6e8d017e8e..fcb7575e1b 10

[PATCH] promisor-remote.h: fix an 'hdr-check' warning

2019-04-04 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Christian, If you need to re-roll your 'cc/multi-promisor' branch, could you please squash this into the relevant patch (commit e52d417b57 ("promisor-remote: implement promisor_remote_get_direct()", 2019-04-01)). [I had a deja-vu mome

Re: [PATCH 01/12] t5319: fix bogus cat-file argument

2019-04-04 Thread Ramsay Jones
On 05/04/2019 00:22, Jeff King wrote: > There's no such argument as "--unordered"; it's spelled "--unsorted". Err, isn't this back-to-front? (i.e. cat-file has the _option_ "--unordered" but not "--unsorted"). I suspect that I am not reading that right! :-D ATB, Ramsay Jones

Re: [PATCH v2 01/13] packfile.h: drop extern from function declarations

2019-04-05 Thread Ramsay Jones
ject_crc; > +int do_check_packed_object_crc; ... removing this 'extern' on an int variable sends 'sparse' into a frenzy of warnings! :-D [You didn't use a global s/extern// by any chance?] ATB, Ramsay Jones

Re: [PATCH/RFC] Makefile: dedup list of files obtained from ls-files

2019-04-22 Thread Ramsay Jones
d44b5af6e3292c837ceda003f9 0 b 100644 a296d0bb611188cabb256919f36bc30117cca005 0 c 100644 a296d0bb611188cabb256919f36bc30117cca005 0 c $ Er, ... well, I obviously don't have a clue how it is supposed to work. This just looks broken to me. :( > So the patch itself looks good to me (though I agree that Eric's > suggestion to de-dup inside "make" is better still). Agreed. ATB, Ramsay Jones

Re: jt/fetch-cdn-offload (was What's cooking in git.git (Apr 2019, #04; Mon, 22))

2019-04-22 Thread Ramsay Jones
only > one small merge conflict. ... not forgetting the second hunk of [1], of course. ;-) [1] https://public-inbox.org/git/5f0c12d5-6714-1516-3579-33d839ad7...@ramsayjones.plus.com/ ATB, Ramsay Jones

Incorrect diff-parseopt conversion?

2019-05-21 Thread Ramsay Jones
_NONEG, NULL, 0, diff_opt_output }, Note that the 'option type' is given as OPTION_CALLBACK, not as OPTION_LOWLEVEL_CALLBACK. Is this intended? ATB, Ramsay Jones [1] Yes, the reason my branch is long running is because we keep changing the same files! We have both defined new OPT_() macros, some with the same name ... ;-)

Re: Incorrect diff-parseopt conversion?

2019-05-21 Thread Ramsay Jones
On 22/05/2019 01:11, Duy Nguyen wrote: > On Wed, May 22, 2019 at 2:56 AM Ramsay Jones > wrote: >> >> Hi Duy, >> >> I am in the middle of rebasing a long running branch onto >> current master (v2.22.0-rc1) and noticed something odd with >> commit af

[PATCH 00/52] fix some -Wmissing-field-initializer warnings

2019-05-24 Thread Ramsay Jones
e merge to 'next' went without problem, and 'pu' only required a fixup to the builtin/commit patch). [The 'warn-v2.21' branch shows the previous version of the series.] What do you think? Thanks! ATB, Ramsay Jones Ramsay Jones (52): parse-options: reformat th

Re: [PATCH 00/52] fix some -Wmissing-field-initializer warnings

2019-05-24 Thread Ramsay Jones
On 24/05/2019 23:30, Ævar Arnfjörð Bjarmason wrote: > > On Fri, May 24 2019, Ramsay Jones wrote: > >> [No, I won't be sending 52 patches to the list!] >> [...] >> This series does not fix any problems or add any new features, so it >> is not important (

Re: [PATCH 00/52] fix some -Wmissing-field-initializer warnings

2019-05-30 Thread Ramsay Jones
uld be cleaned up or simplified. If we want to > shut up the warning completely (so we can pay attention to it), we'll > then have to annotate probably a couple hundred spots, and keep those > annotations up to date. But I feel better doing that knowing that it's > shown real-world value. OK, I will drop this branch then. Thanks all. ATB, Ramsay Jones

Re: [PATCH v4 12/14] commit-graph: create options for split files

2019-06-06 Thread Ramsay Jones
ot;git commit-graph write [--object-dir ] [--append|--split] > [--reachable|--stdin-packs|--stdin-commits]"), > + N_("git commit-graph write [--object-dir ] [--append|--split] > [--reachable|--stdin-packs|--stdin-commits] "), > NULL > }; > > @@ -135,6 +135,7 @@ static int graph_read(int argc, const char **argv) > } > > extern int read_replace_refs; > +struct split_commit_graph_opts split_opts; This 'split_opts' variable needs to be marked 'static'. Thanks. ATB, Ramsay Jones

Re: [RFC/PATCH v1 0/4] compat/obstack: update from upstream

2019-06-14 Thread Ramsay Jones
; compat/obstack.c:331:5:expected void ( *[addressable] [toplevel] obstack_alloc_failed_handler )( ... ) > compat/obstack.c:331:5: got void ( [noreturn] * )( ... ) $ So, yes you did catch all "using plain integer as NULL pointer" warnings! :-D Thanks. ATB, Ramsay Jones

Re: [RFC/PATCH v1 0/4] compat/obstack: update from upstream

2019-06-14 Thread Ramsay Jones
On 14/06/2019 21:30, Ramsay Jones wrote: > > > On 14/06/2019 11:00, SZEDER Gábor wrote: >> Update 'compat/obstack.{c,h}' from upstream, because they already use >> 'size_t' instead of 'long' in places that might eventually end up as >>

Re: [PATCH 09/17] object: convert create_object() to use object_id

2019-06-20 Thread Ramsay Jones
On 20/06/2019 08:41, Jeff King wrote: > There are no callers left of lookup_object() that aren't just passing us s/lookup_object/create_object/ ATB, Ramsay Jones

[PATCH] json-writer: fix a 'hdr-check' warning

2019-06-21 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Duy, If you need to re-roll your 'nd/index-dump-in-json' branch, could you please squash this into the relevant patch (commit 53f1666b3a, 'split-index.c: dump "link" extension as json', 2019-06-19). Thanks! ATB, Ramsay Jones

Re: [PATCH v2 00/10] Add 'ls-files --debug-json' to dump the index in json

2019-06-25 Thread Ramsay Jones
g something, but the above is usually sufficient for my uses. (Having said that, I have not had the need to debug extensions [yet!]). ATB, Ramsay Jones

[PATCH] env--helper: mark a file-local symbol as static

2019-06-26 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Ævar, If you need to re-roll your 'ab/test-env' branch, could you please squash this into the relevant patch (commit b4f207f339, "env--helper: new undocumented builtin wrapping git_env_*()", 2019-06-21). Thanks! ATB, Ramsay Jones b

[PATCH] promisor-remote.h: fix an 'hdr-check' warning

2019-06-26 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Christian, If you need to re-roll your 'cc/multi-promisor' branch, could you please squash this into the relevant patch (commit 9e27beaa23, "promisor-remote: implement promisor_remote_get_direct()", 2019-06-25). [No, this is not the sam

[PATCH] env--helper: mark a file-local symbol as static

2019-07-11 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Junio, It seems Ævar didn't have a need to re-roll his patches [1], before the 'ab/test-env' branch was merged to next. This version of the patch is based on current 'next'. Thanks! ATB, Ramsay Jones [1] https://public-inbox.o

[PATCH] range-diff: fix some 'hdr-check' and sparse warnings

2019-07-11 Thread Ramsay Jones
Signed-off-by: Ramsay Jones --- Hi Thomas, If you need to re-roll your 'tg/range-diff-output-update' branch, could you please squash (parts) of this into the relevant patches. The first hunk fixes a couple of 'hdr-check' warnings: $ diff nhcout phcout | head 4a5,1

Re: [PATCH v4 00/14] output improvements for git range-diff

2019-07-11 Thread Ramsay Jones
124 ++- > t/t3206/history.export | 84 ++- > 7 files changed, 409 insertions(+), 163 deletions(-) Yes, the patch I just sent related to the previous version of this series. However, I believe it still applies to this version (looking at the range-diff below

Re: [PATCH v3 2/3] reset: add new reset.quiet config setting

2018-10-22 Thread Ramsay Jones
rs. The default behavior respects the > + `reset.quiet` config option, or `--no-quiet` if that is not set. Sorry, I can't quite parse this; -q,--quiet and --no-quiet on the command line (should) trump whatever rest.quiet is set to in the configuration. Is that not the case? ATB, Ramsa

Re: [PATCH v4 2/3] reset: add new reset.quiet config setting

2018-10-23 Thread Ramsay Jones
ions can be used to override any configured default. Hmm, I am not sure that is any better! :-D Also, note that the --no-option is often described separately to the --option (in a separate paragraph). I don't know if that would help here. [The default behaviour is _not_ set by the con

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

2018-10-24 Thread Ramsay Jones
through the exact sequence in your paragraph when writing > my other message. That's probably a good sign that we should probably > not pursue this further unless we see the use case come up again a few > more times (and if we do, then consider "config" the least-bad place to > do it). I was thinking: $ git var -e GIT_WHATEVER_ENV [-e for environment]. ... but that is really no different than git-config. ;-) ATB, Ramsay Jones

Re: [PATCH v4 2/3] reset: add new reset.quiet config setting

2018-10-25 Thread Ramsay Jones
> report and leave further refinements to incremental updates as > needed? Yeah, the first version gave me a 'huh?' moment (hence the comment), the last version was better and, as you can see, I am no great shakes at wordsmith-ing documentation! ;-) Thanks! ATB, Ramsay Jones

Re: [PATCH v3 3/3] commit-slab: missing definitions and forward declarations (hdr-check)

2018-10-25 Thread Ramsay Jones
Hmm, sorry, I don't see how this patch has anything to do with the other two patches! ;-) Also, I have a patch to fix up the 'commit-reach.h' header (it was part of my original series, just had to update the commit message), which adds these very #includes and forward declarations when _using_ the commit-slab. I haven't tried applying your patches yet, which may answer my questions, so I am a little puzzled. ATB, Ramsay Jones

Re: [PATCH v3 3/3] commit-slab: missing definitions and forward declarations (hdr-check)

2018-10-25 Thread Ramsay Jones
On 25/10/2018 19:54, Ramsay Jones wrote: > > > On 25/10/2018 12:04, Carlo Marcelo Arenas Belón wrote: >> struct commmit needs to be defined before commit-slab can generate >> working code, object_id should be at least known through a forward >> declaration >>

<    1   2   3   4   5   6   7   8   9   10   >