Re: bug: git-archive does not use the zip64 extension for archives with more than 16k entries

2015-08-12 Thread Johannes Schauer
Hi, Quoting René Scharfe (2015-08-12 21:40:48) > Am 11.08.2015 um 12:40 schrieb Johannes Schauer: > > for repositories with more than 16k files and folders, git-archive will > > create > > zip files which store the wrong number of entries. That is, it stores the > > number of entries modulo 16k.

Re: [PATCHv3 1/2] config: add '--names-only' option to list only variable names

2015-08-12 Thread Junio C Hamano
SZEDER Gábor writes: >> >> s/becase/because/; > > OK. > ... >> I agree with Peff that "--names-only" has a subtle difference with >> an existing and well known subcommand option and it would be a bit >> irritating to remember which options is for which command. > > OK. > ... The topic is now in

Re: [PATCH] gitk: Alter the ordering for the "Tags and heads" view

2015-08-12 Thread Paul Mackerras
On Tue, Jun 02, 2015 at 07:11:10AM -0400, Michael Rappazzo wrote: > In the "Tags and heads" view, the list of refs is globally sorted. > The list of local refs (heads) is separated by the remote refs. This > change re-orders the view toi be: local refs, remote refs tracked by > local refs, remote

Re: [PATCHv3 1/2] config: add '--names-only' option to list only variable names

2015-08-12 Thread SZEDER Gábor
Quoting Junio C Hamano : SZEDER Gábor writes: 'git config' can only show values or name-value pairs, so if a shell script needs the names of set config variables it has to run 'git config --list' or '--get-regexp' and parse the output to separate config variable names from their values. How

Re: enhanced remote ref namespaces

2015-08-12 Thread Johan Herland
On Wed, Aug 12, 2015 at 8:34 PM, Jacob Keller wrote: > On Wed, Aug 12, 2015 at 9:10 AM, Junio C Hamano wrote: >> Some design boundaries: >> >> - Moving the remote-tracking branch hierarchy from refs/remotes/$O/* >>to refs/remotes/$O/heads/* would not fly, because it will break >>existing

Re: [PATCH v4 4/4] notes: teach git-notes about notes..merge option

2015-08-12 Thread Jacob Keller
On Wed, Aug 12, 2015 at 3:41 PM, Junio C Hamano wrote: > Jacob Keller writes: > >> I spoke to soon. We have an "init_notes_check" function which shows >> that it does refuse to merge outside of refs/notes/* It prevents all >> notes operations outside of refs/notes > > OK. Then it is OK to limit

What's cooking in git.git (Aug 2015, #02; Wed, 12)

2015-08-12 Thread Junio C Hamano
Here are the topics that have been cooking. Commits prefixed with '-' are only in 'pu' (proposed updates) while commits prefixed with '+' are in 'next'. The second batch of topics have graduated to 'master'. Most notably, the rewritten "git am" is in. Also "worktree add" is getting improved. Y

Re: [PATCH v3 2/4] path: optimize common dir checking

2015-08-12 Thread Junio C Hamano
David Turner writes: > Instead of a linear search over common_list to check whether > a path is common, use a trie. The trie search operates on > path prefixes, and handles excludes. > > Signed-off-by: David Turner > --- > > Probably overkill, but maybe we could later use it for making exclude

Donation

2015-08-12 Thread git-owner
Am Catherine, a dying widow, am donating my trust fund money to any God fearing individual willing to embrasse a life changing encounter. Kindly contact me on catherinemelco...@gmail.com if you are priviledged to read this mail for details. Cath --- This email has been checked for viruses by

Re: [PATCH v4 4/4] notes: teach git-notes about notes..merge option

2015-08-12 Thread Junio C Hamano
Jacob Keller writes: > I spoke to soon. We have an "init_notes_check" function which shows > that it does refuse to merge outside of refs/notes/* It prevents all > notes operations outside of refs/notes OK. Then it is OK to limit notes..mergestrategy so that refers to what comes after refs/not

Re: [PATCH v4 4/4] notes: teach git-notes about notes..merge option

2015-08-12 Thread Jacob Keller
On Wed, Aug 12, 2015 at 2:57 PM, Jacob Keller wrote: > On Wed, Aug 12, 2015 at 2:46 PM, Johan Herland wrote: >> If we don't already refuse to merge into a ref outside refs/notes, then >> I would consider that a bug to be fixed, and not some corner use case that >> we must preserve for all future.

Re: [PATCH v4 4/4] notes: teach git-notes about notes..merge option

2015-08-12 Thread Johan Herland
On Wed, Aug 12, 2015 at 11:43 PM, Jacob Keller wrote: > On Wed, Aug 12, 2015 at 12:16 PM, Jacob Keller wrote: >> Oh interesting. I did a test. If you provide a fully qualified ref not >> inside refs/notes, then it assumes you meant refs/notes/refs/foo/y >> rather than refs/foo/y >> >> I need to d

Re: [PATCH 2/2] cleanup submodule_config a bit.

2015-08-12 Thread Eric Sunshine
On Wed, Aug 12, 2015 at 5:34 PM, Stefan Beller wrote: > On Wed, Aug 12, 2015 at 2:13 PM, Eric Sunshine > wrote: >> On Wed, Aug 12, 2015 at 3:13 PM, Stefan Beller wrote: >>> if (!gitmodule_sha1_from_commit(commit_sha1, sha1)) >>> - return submodule; >>> + retu

[PATCH v3 4/4] bisect: make bisection refs per-worktree

2015-08-12 Thread David Turner
Using the new refs/worktree/ refs, make bisection per-worktree. Signed-off-by: David Turner --- Documentation/git-bisect.txt | 4 ++-- Documentation/rev-list-options.txt | 14 +++--- bisect.c | 2 +- builtin/rev-parse.c| 6 -- git-bi

[PATCH v3 3/4] refs: make refs/worktree/* per-worktree

2015-08-12 Thread David Turner
We need a place to stick refs for bisects in progress that is not shared between worktrees. So we use the refs/worktree/ hierarchy. The is_per_worktree_ref function and associated docs learn that refs/worktree/ is per-worktree, as does the git_path code in path.c The ref-packing functions learn

[PATCH v3 2/4] path: optimize common dir checking

2015-08-12 Thread David Turner
Instead of a linear search over common_list to check whether a path is common, use a trie. The trie search operates on path prefixes, and handles excludes. Signed-off-by: David Turner --- Probably overkill, but maybe we could later use it for making exclude or sparse-checkout matching faster (o

[PATCH v3 1/4] refs: clean up common_list

2015-08-12 Thread David Turner
Instead of common_list having formatting like ! and /, use a struct to hold common_list data in a structured form. We don't use 'exclude' yet; instead, we keep the old codepath that handles info/sparse-checkout and logs/HEAD. Later, we will use exclude. Signed-off-by: David Turner --- Junio wa

Re: [PATCH v4 4/4] notes: teach git-notes about notes..merge option

2015-08-12 Thread Jacob Keller
On Wed, Aug 12, 2015 at 2:46 PM, Johan Herland wrote: > If we don't already refuse to merge into a ref outside refs/notes, then > I would consider that a bug to be fixed, and not some corner use case that > we must preserve for all future. > > After all, we do already have a test in t3308 named 'f

[PATCH] run-command: Improve readability of struct child_process

2015-08-12 Thread Stefan Beller
Reordering the struct member env to be next to env_array helps understanding the struct better. This also adds comments to indicate that arg{s,v} and (env, env_array) are used for the same purpose and only one must be used. Although these comments are in the Documentation, I still think they are a

Re: [PATCH v4 4/4] notes: teach git-notes about notes..merge option

2015-08-12 Thread Johan Herland
On Wed, Aug 12, 2015 at 4:26 AM, Junio C Hamano wrote: > Johan Herland writes: >> I know that we don't yet have a "proper" place to put remote notes refs, >> but the in notes..merge _must_ be a "local" notes ref (you even >> use the notation in the documentation below). Thus, I believe >> we ca

Re: [PATCH v4 4/4] notes: teach git-notes about notes..merge option

2015-08-12 Thread Jacob Keller
On Wed, Aug 12, 2015 at 12:16 PM, Jacob Keller wrote: > Oh interesting. I did a test. If you provide a fully qualified ref not > inside refs/notes, then it assumes you meant refs/notes/refs/foo/y > rather than refs/foo/y > > I need to do some more digging on this to determine the exact thing going

Re: [PATCH 2/2] cleanup submodule_config a bit.

2015-08-12 Thread Stefan Beller
On Wed, Aug 12, 2015 at 2:13 PM, Eric Sunshine wrote: > On Wed, Aug 12, 2015 at 3:13 PM, Stefan Beller wrote: >> In the first hunk, `submodule` is NULL all the time, so we can make it >> clearer >> by directly returning NULL. >> >> In the second hunk, we can directly return the lookup values as

Re: [PATCH 2/2] cleanup submodule_config a bit.

2015-08-12 Thread Eric Sunshine
On Wed, Aug 12, 2015 at 3:13 PM, Stefan Beller wrote: > In the first hunk, `submodule` is NULL all the time, so we can make it clearer > by directly returning NULL. > > In the second hunk, we can directly return the lookup values as it also makes > the coder clearer. > > Signed-off-by: Stefan Bell

Re: [PATCH v10 05/13] ref-filter: implement an `align` atom

2015-08-12 Thread Junio C Hamano
Karthik Nayak writes: > On Wed, Aug 12, 2015 at 10:43 PM, Junio C Hamano wrote: > ... >> %(objectname:abbrev=8). To specify two modification magics, each of >> which takes a number, the user would say e.g. >> >> %(objectname:abbrev=8,magic=4) >> ... >> And that would be following %(align:8)

Re: [PATCH v10 05/13] ref-filter: implement an `align` atom

2015-08-12 Thread Karthik Nayak
On Wed, Aug 12, 2015 at 10:43 PM, Junio C Hamano wrote: > Karthik Nayak writes: > >> On Wed, Aug 12, 2015 at 12:22 AM, Junio C Hamano wrote: >> >>> Minor nits on the design. %(align:[,]) would let >>> us write %(align:16)...%(end) and use the "default position", which >>> may be beneficial if o

partial stash, reversed-merge, and file modifications

2015-08-12 Thread Stefan Monnier
I'm pretty happy about Git in general, but for two situations where I've found workarounds, which both have the same problem, which is that they "touch" files unnecessarily: * First case: merge into a dirty tree. I often want to "git pull" into a tree that's dirty. I know many people find this t

Re: enhanced remote ref namespaces

2015-08-12 Thread Junio C Hamano
Jacob Keller writes: > That still hasn't really resolved the question of how to deal with > tags, but it does solve the question of how to deal with replace and > notes refs. I do not think it would be a good change to add a [remote "foo"] fetch = refs/tags/*:refs/tracking/foo/tags/

Re: bug: git-archive does not use the zip64 extension for archives with more than 16k entries

2015-08-12 Thread René Scharfe
Am 11.08.2015 um 12:40 schrieb Johannes Schauer: Hi, for repositories with more than 16k files and folders, git-archive will create zip files which store the wrong number of entries. That is, it stores the number of entries modulo 16k. This will break unpackers that do not include code to suppor

Re: proper remote ref namespaces

2015-08-12 Thread Junio C Hamano
Marc Branchaud writes: > Not a lot. Existing DWIMery already handles ambiguous branches, by > preferring a local branch name over any remote ones. The only teaching > that's really needed is ... You need to remember that there are five useful things you can do to mutable things. - Creation c

Re: [PATCH v5 0/4] submodule config lookup API

2015-08-12 Thread Junio C Hamano
Stefan Beller writes: > However just as I was convinced of my review and sent out the email, I started > working with it. And I found nits which I'd ask you to squash into the round > or > put on top. Good ;-). I'd prefer a full reroll, as it has been quite a while since v5 was originally post

Re: [PATCH v4 4/4] notes: teach git-notes about notes..merge option

2015-08-12 Thread Jacob Keller
On Wed, Aug 12, 2015 at 12:09 PM, Junio C Hamano wrote: > Jacob Keller writes: > >> On Tue, Aug 11, 2015 at 7:26 PM, Junio C Hamano wrote: >>> Johan Herland writes: >>> I know that we don't yet have a "proper" place to put remote notes refs, but the in notes..merge _must_ be a "local

[PATCH 2/2] cleanup submodule_config a bit.

2015-08-12 Thread Stefan Beller
In the first hunk, `submodule` is NULL all the time, so we can make it clearer by directly returning NULL. In the second hunk, we can directly return the lookup values as it also makes the coder clearer. Signed-off-by: Stefan Beller --- submodule-config.c | 12 +--- 1 file changed, 5 in

Re: [PATCH v5 0/4] submodule config lookup API

2015-08-12 Thread Stefan Beller
On Wed, Aug 12, 2015 at 10:53 AM, Junio C Hamano wrote: > Stefan Beller writes: > >> On Mon, Jun 15, 2015 at 2:48 PM, Junio C Hamano wrote: >>> Thanks. Will replace and wait for comments from others. >> >> I have reviewed the patches carefully and they look good to me. > > OK, I recall there we

[PATCH 1/2] Fixup hv/documentation

2015-08-12 Thread Stefan Beller
If you want to look up by name, use `submodule_from_name` instead. Signed-off-by: Stefan Beller --- Documentation/technical/api-submodule-config.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/technical/api-submodule-config.txt b/Documentation/technical/a

Re: [PATCH v4 4/4] notes: teach git-notes about notes..merge option

2015-08-12 Thread Junio C Hamano
Jacob Keller writes: > On Tue, Aug 11, 2015 at 7:26 PM, Junio C Hamano wrote: >> Johan Herland writes: >> >>> I know that we don't yet have a "proper" place to put remote notes refs, >>> but the in notes..merge _must_ be a "local" notes ref (you even >>> use the notation in the documentation

Re: [PATCH v4 4/4] notes: teach git-notes about notes..merge option

2015-08-12 Thread Jacob Keller
On Tue, Aug 11, 2015 at 7:26 PM, Junio C Hamano wrote: > Johan Herland writes: > >> I know that we don't yet have a "proper" place to put remote notes refs, >> but the in notes..merge _must_ be a "local" notes ref (you even >> use the notation in the documentation below). Thus, I believe >> we

Re: enhanced remote ref namespaces

2015-08-12 Thread Jacob Keller
On Wed, Aug 12, 2015 at 11:54 AM, Junio C Hamano wrote: > Jacob Keller writes: > >>> Just thinking aloud, perhaps we can introduce a brand new top level >>> hierarchy refs/remote/$O/{heads,tags,notes,...}, and give backward >>> compatibility by making a moral equivalent of a symbolic link from >>

Re: enhanced remote ref namespaces

2015-08-12 Thread Junio C Hamano
Jacob Keller writes: >> Just thinking aloud, perhaps we can introduce a brand new top level >> hierarchy refs/remote/$O/{heads,tags,notes,...}, and give backward >> compatibility by making a moral equivalent of a symbolic link from >> refs/remote/$O/heads to refs/remotes/$O/. The true remote-tra

Re: enhanced remote ref namespaces

2015-08-12 Thread Jacob Keller
On Wed, Aug 12, 2015 at 9:10 AM, Junio C Hamano wrote: > Jacob Keller writes: > >> Recently there was some discussion about git-notes and how we do not >> fetch notes from remotes by default. The big problem with doing so is >> because refs/remotes/* hierarchy is only setup for branches (heads),

Re: [msysGit] Re: [PATCH bc/connect-plink] t5601-clone: remove broken and pointless check for plink.exe

2015-08-12 Thread Johannes Sixt
Am 12.08.2015 um 13:58 schrieb Erik Faye-Lund: On Wed, Aug 12, 2015 at 1:07 PM, Johannes Schindelin wrote: FWIW Git for Windows has this patch (that I wanted to contribute in due time, what with being busy with all those tickets) to solve the problem mentioned in your patch in a different way:

Re: [PATCH] revisions --stdin: accept CRLF line terminators

2015-08-12 Thread Johannes Sixt
Am 12.08.2015 um 00:14 schrieb Junio C Hamano: Now, I am wondering if it makes sense to do these two things: * Teach revision.c::read_revisions_from_stdin() to use strbuf_getline() instead of strbuf_getwholeline(). * Teach strbuf_getline() to remove CR at the end when stripping the

Re: [PATCH v2] http: add support for specifying the SSL version

2015-08-12 Thread Eric Sunshine
On Wed, Aug 12, 2015 at 04:24:51PM +0200, Elia Pinto wrote: > Teach git about a new option, "http.sslVersion", which permits one to > specify the SSL version to use when negotiating SSL connections. The > setting can be overridden by the GIT_SSL_VERSION environment > variable. > > Signed-off-by:

Re: [PATCH jk/prune-mtime] prune: close directory earlier during loose-object directory traversal

2015-08-12 Thread Jeff King
On Wed, Aug 12, 2015 at 07:43:01PM +0200, Johannes Sixt wrote: > 27e1e22d (prune: factor out loose-object directory traversal, 2014-10-16) > introduced a new function for_each_loose_file_in_objdir() with a helper > for_each_file_in_obj_subdir(). The latter calls callbacks for each file > found dur

Re: [PATCH v5 0/4] submodule config lookup API

2015-08-12 Thread Junio C Hamano
Stefan Beller writes: > On Mon, Jun 15, 2015 at 2:48 PM, Junio C Hamano wrote: >> Thanks. Will replace and wait for comments from others. > > I have reviewed the patches carefully and they look good to me. OK, I recall there were a few iterations with review comments before this round. Is it

[PATCH jk/prune-mtime] prune: close directory earlier during loose-object directory traversal

2015-08-12 Thread Johannes Sixt
27e1e22d (prune: factor out loose-object directory traversal, 2014-10-16) introduced a new function for_each_loose_file_in_objdir() with a helper for_each_file_in_obj_subdir(). The latter calls callbacks for each file found during a directory traversal and finally also a callback for the directory

Re: [PATCH v10 05/13] ref-filter: implement an `align` atom

2015-08-12 Thread Junio C Hamano
Karthik Nayak writes: > On Wed, Aug 12, 2015 at 12:22 AM, Junio C Hamano wrote: > >> Minor nits on the design. %(align:[,]) would let >> us write %(align:16)...%(end) and use the "default position", which >> may be beneficial if one kind of alignment is prevalent (I guess all >> the internal us

[PATCH v2' 12/16] diff: use tempfile module

2015-08-12 Thread Michael Haggerty
Also add some code comments explaining how the fields in "struct diff_tempfile" are used. Signed-off-by: Michael Haggerty --- This is a replacement for tempfile patch v2 12/16 that includes some extra code comments. It is also available from my GitHub repo [1] on branch "tempfile". [1] https://g

Re: [PATCH v10 04/13] utf8: add function to align a string into given strbuf

2015-08-12 Thread Karthik Nayak
On Wed, Aug 12, 2015 at 10:10 PM, Junio C Hamano wrote: > Karthik Nayak writes: > >> On Tue, Aug 11, 2015 at 11:52 PM, Junio C Hamano wrote: >>> Karthik Nayak writes: >>> +void strbuf_utf8_align(struct strbuf *buf, align_type position, unsigned int width, +co

Re: [PATCH v10 02/13] ref-filter: print output to strbuf for formatting

2015-08-12 Thread Karthik Nayak
On Wed, Aug 12, 2015 at 9:59 PM, Junio C Hamano wrote: > Karthik Nayak writes: > + format_quote_value(atomv, quote_style, &output); >>> >>> If the one to add a literal string (with %hex escaping) is called "append_", >>> then this should be called append_quoted_atom() or somethin

Re: [PATCH v2 12/16] diff: use tempfile module

2015-08-12 Thread Junio C Hamano
Michael Haggerty writes: > No, prepare_temp_file() sometimes sets diff_tempfile::name to > "/dev/null", and sometimes to point at its argument `name`. That explains everything. Thanks. It's been a while since I wrote this part of the system ;-). -- To unsubscribe from this list: send the line

Re: [PATCH v10 04/13] utf8: add function to align a string into given strbuf

2015-08-12 Thread Junio C Hamano
Karthik Nayak writes: > On Tue, Aug 11, 2015 at 11:52 PM, Junio C Hamano wrote: >> Karthik Nayak writes: >> >>> +void strbuf_utf8_align(struct strbuf *buf, align_type position, unsigned >>> int width, >>> +const char *s) >>> +{ >>> + int display_len = utf8_strnwidth(s,

Re: [PATCH v10 02/13] ref-filter: print output to strbuf for formatting

2015-08-12 Thread Junio C Hamano
Karthik Nayak writes: >>> + format_quote_value(atomv, quote_style, &output); >> >> If the one to add a literal string (with %hex escaping) is called "append_", >> then this should be called append_quoted_atom() or something, no? > > Although it does append like "append_non_atom" this

Re: [PATCH nd/dwim-wildcards-as-pathspecs] t2019: skip test requiring '*' in a file name non Windows

2015-08-12 Thread Junio C Hamano
Johannes Schindelin writes: > Hi, > > On 2015-08-11 22:38, Johannes Sixt wrote: > >> diff --git a/t/t2019-checkout-ambiguous-ref.sh >> b/t/t2019-checkout-ambiguous-ref.sh >> index 8396320..199b22d 100755 >> --- a/t/t2019-checkout-ambiguous-ref.sh >> +++ b/t/t2019-checkout-ambiguous-ref.sh >> @@ -

Re: [PATCH v10 05/13] ref-filter: implement an `align` atom

2015-08-12 Thread Karthik Nayak
On Wed, Aug 12, 2015 at 12:22 AM, Junio C Hamano wrote: > Karthik Nayak writes: > >> struct atom_value{ > > Obviously not a problem with this step, but you need a SP before the > open brace. > Will add. >> @@ -692,6 +704,26 @@ static void populate_value(struct ref_array_item *ref) >>

Re: proper remote ref namespaces

2015-08-12 Thread Junio C Hamano
Jacob Keller writes: > Recently there was some discussion about git-notes and how we do not > fetch notes from remotes by default. The big problem with doing so is > because refs/remotes/* hierarchy is only setup for branches (heads), > so we don't have any clean location to put them. I wouldn't

Re: pack negotiation algorithm between 2 share-nothing repos

2015-08-12 Thread Junio C Hamano
Duy Nguyen writes: > I know this is a corner case, but because it has a valid use case, > maybe we should do something about it. Immediate reaction is to add an > option to send no "have"s. But maybe you guys have better ideas. This and similar corner cases were discussed in very early days of G

Re: proper remote ref namespaces

2015-08-12 Thread Marc Branchaud
On 15-08-12 02:43 AM, Jacob Keller wrote: > Hello, > > Recently there was some discussion about git-notes and how we do not fetch > notes from remotes by default. The big problem with doing so is because > refs/remotes/* hierarchy is only setup for branches (heads), so we don't > have any clean lo

Re: [PATCH v2] http: add support for specifying the SSL version

2015-08-12 Thread Junio C Hamano
Elia Pinto writes: > diff --git a/http.c b/http.c > index e9c6fdd..1504005 100644 > --- a/http.c > +++ b/http.c > @@ -37,6 +37,8 @@ static int curl_ssl_verify = -1; > static int curl_ssl_try; > static const char *ssl_cert; > static const char *ssl_cipherlist; > +static const char *ssl_version;

Re: [PATCH v2 00/16] Introduce a tempfile module

2015-08-12 Thread Michael Haggerty
On 08/11/2015 10:21 PM, Junio C Hamano wrote: > Thanks for a pleasant read. All looked reasonable. Thanks for your review! Michael -- Michael Haggerty mhag...@alum.mit.edu -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org M

Re: [PATCH v2 12/16] diff: use tempfile module

2015-08-12 Thread Michael Haggerty
On 08/11/2015 10:03 PM, Junio C Hamano wrote: > Michael Haggerty writes: > >> Signed-off-by: Michael Haggerty >> --- >> diff.c | 29 +++-- >> 1 file changed, 7 insertions(+), 22 deletions(-) > > Nice code reduction. > >> diff --git a/diff.c b/diff.c >> index 7500c55..d

Git stash behavior

2015-08-12 Thread sivno . 20 . toranaga-san
Hello all, I am using git stashes to ensure that my source builds and tests correctly. My general work flow is this: Before committing I create a stash and clean everything: git stash save -q --keep-index --include-untracked Then I perform some tests (mvn compile test), after that I restore

[PATCH v2] http: add support for specifying the SSL version

2015-08-12 Thread Elia Pinto
Teach git about a new option, "http.sslVersion", which permits one to specify the SSL version to use when negotiating SSL connections. The setting can be overridden by the GIT_SSL_VERSION environment variable. Signed-off-by: Elia Pinto --- This is the second version. I moved out of the else cla

Re: [PATCH] http: add support for specifying the SSL version

2015-08-12 Thread Elia Pinto
2015-08-12 15:33 GMT+02:00 Remi Galan Alfonso : > Hello, Elia > > Elia Pinto writes: >> +if (ssl_version != NULL && *ssl_version) { >> +if (!strcmp(ssl_version,"tlsv1")) { >> +sslversion = CURL_SSLVERSION_TLSv1; >> +} else if (!strcmp

Re: [PATCH v10 04/13] utf8: add function to align a string into given strbuf

2015-08-12 Thread Karthik Nayak
On Tue, Aug 11, 2015 at 11:52 PM, Junio C Hamano wrote: > Karthik Nayak writes: > >> +void strbuf_utf8_align(struct strbuf *buf, align_type position, unsigned >> int width, >> +const char *s) >> +{ >> + int display_len = utf8_strnwidth(s, strlen(s), 0); >> + int utf8_

Re: [PATCH] http: add support for specifying the SSL version

2015-08-12 Thread Remi Galan Alfonso
Hello, Elia Elia Pinto writes: > +if (ssl_version != NULL && *ssl_version) { > +if (!strcmp(ssl_version,"tlsv1")) { > +sslversion = CURL_SSLVERSION_TLSv1; > +} else if (!strcmp(ssl_version,"sslv2")) { > +sslve

Re: [PATCH v10 03/13] ref-filter: introduce ref_formatting_state

2015-08-12 Thread Karthik Nayak
On Tue, Aug 11, 2015 at 11:43 PM, Junio C Hamano wrote: > Karthik Nayak writes: > >> get_ref_atom_value(info, parse_ref_filter_atom(sp + 2, ep), >> &atomv); >> - format_quote_value(atomv, quote_style, &output); >> + set_formatting_state(atomv, &state); >> +

Re: [PATCH v10 02/13] ref-filter: print output to strbuf for formatting

2015-08-12 Thread Karthik Nayak
On Tue, Aug 11, 2015 at 11:30 PM, Junio C Hamano wrote: > Karthik Nayak writes: > >> @@ -1283,9 +1279,11 @@ void show_ref_array_item(struct ref_array_item *info, >> const char *format, int qu >> if (color_parse("reset", color) < 0) >> die("BUG: couldn't parse

Re: [PATCH v10 02/13] ref-filter: print output to strbuf for formatting

2015-08-12 Thread Karthik Nayak
On Tue, Aug 11, 2015 at 11:26 PM, Junio C Hamano wrote: > Karthik Nayak writes: > >> -static void print_value(struct atom_value *v, int quote_style) >> +static void format_quote_value(struct atom_value *v, int quote_style, >> struct strbuf *output) >> { > > Hmph... > >> -static void emit(const

[PATCH] http: add support for specifying the SSL version

2015-08-12 Thread Elia Pinto
Teach git about a new option, "http.sslVersion", which permits one to specify the SSL version to use when negotiating SSL connections. The setting can be overridden by the GIT_SSL_VERSION environment variable. Signed-off-by: Elia Pinto --- Documentation/config.txt | 21 ++

Re: [msysGit] Re: [PATCH bc/connect-plink] t5601-clone: remove broken and pointless check for plink.exe

2015-08-12 Thread Erik Faye-Lund
On Wed, Aug 12, 2015 at 1:07 PM, Johannes Schindelin wrote: > Hi Johannes, > > On 2015-08-11 22:51, Johannes Sixt wrote: >> Invoking plink requires special treatment, and we have support and even >> test cases for the commands 'plink' and 'tortoiseplink'. We also support >> .exe variants for these

pack negotiation algorithm between 2 share-nothing repos

2015-08-12 Thread Duy Nguyen
This is a corner case that has a real use case: git clone linux-2.6.git cd linux-2.6 git remote add history git-history.git git fetch history # graft graft graft Because history.gi and linux-2.6.git have nothing in common, the server side keeps asking for more "have"s and the client keeps sending

Re: [msysGit] [PATCH nd/dwim-wildcards-as-pathspecs] t2019: skip test requiring '*' in a file name non Windows

2015-08-12 Thread Johannes Schindelin
Hi, On 2015-08-11 22:38, Johannes Sixt wrote: > diff --git a/t/t2019-checkout-ambiguous-ref.sh > b/t/t2019-checkout-ambiguous-ref.sh > index 8396320..199b22d 100755 > --- a/t/t2019-checkout-ambiguous-ref.sh > +++ b/t/t2019-checkout-ambiguous-ref.sh > @@ -69,7 +69,7 @@ test_expect_success 'wildcar

Re: [PATCH bc/connect-plink] t5601-clone: remove broken and pointless check for plink.exe

2015-08-12 Thread Johannes Schindelin
Hi Johannes, On 2015-08-11 22:51, Johannes Sixt wrote: > Invoking plink requires special treatment, and we have support and even > test cases for the commands 'plink' and 'tortoiseplink'. We also support > .exe variants for these two and there is a test for 'plink.exe'. > > On Windows, however, w