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

2015-08-11 Thread Johannes Sixt
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, where support for plink.exe would be relevant, the test case fails

[PATCH v4 2/4] notes: add tests for --commit/--abort/--strategy exclusivity

2015-08-11 Thread Jacob Keller
From: Jacob Keller jacob.kel...@gmail.com Add new tests to ensure that --commit, --abort, and --strategy are mutually exclusive. Signed-off-by: Jacob Keller jacob.kel...@gmail.com --- t/t3310-notes-merge-manual-resolve.sh | 12 1 file changed, 12 insertions(+) diff --git

[PATCH v4 0/4] add notes strategy configuration options

2015-08-11 Thread Jacob Keller
From: Jacob Keller jacob.kel...@gmail.com This series of patches implements notes.merge and notes.ref.merge options for configuring notes merge strategy such that user may avoid typing -s. It is (probably) most useful if the user wishes to always enforce cat_sort_uniq strategy. This series now

Re* [PATCH v2 1/2] refs: refs/worktree/* become per-worktree

2015-08-11 Thread Junio C Hamano
David Turner dtur...@twopensource.com writes: We need a place to stick refs for bisects in progress that is not shared between worktrees. So we use the refs/worktree/ hierarchy. This is by itself OK, but to help existing Porcelains, most notably gitk, I think refs/bisect/ hierarchy should be

Re: Re* [PATCH v2 1/2] refs: refs/worktree/* become per-worktree

2015-08-11 Thread David Turner
On Tue, 2015-08-11 at 14:10 -0700, Junio C Hamano wrote: David Turner dtur...@twopensource.com writes: We need a place to stick refs for bisects in progress that is not shared between worktrees. So we use the refs/worktree/ hierarchy. This is by itself OK, but to help existing

[PATCH v4 3/4] notes: add notes.merge option to select default strategy

2015-08-11 Thread Jacob Keller
From: Jacob Keller jacob.kel...@gmail.com Teach git-notes about notes.merge to select a general strategy for all notes merges. This enables a user to always get expected merge strategy such as cat_sort_uniq without having to pass the -s option manually. Signed-off-by: Jacob Keller

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

2015-08-11 Thread Jacob Keller
From: Jacob Keller jacob.kel...@gmail.com Add new option notes.ref.merge option which specifies the merge strategy for merging into a given notes ref. This option enables selection of merge strategy for particular notes refs, rather than all notes ref merges, as user may not want cat_sort_uniq

[PATCH] gitk: adjust the menu line numbers to compensate for the new entry

2015-08-11 Thread Beat Bolli
The previous commit[1] added a new context menu entry. Therefore, the line numbers of the folloeing entries need to be incremented when their text or state is changed. [1] 1437218139-7031-1-git-send-email-dev+...@drbeat.li, http://article.gmane.org/gmane.comp.version-control.git/274161

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

2015-08-11 Thread Junio C Hamano
Johannes Sixt j...@kdbg.org writes: On Windows, 'git rebase -i' with rebase.missingCommitsCheck set to warn or error reports: Dropped commits (newer to older): 'atal: bad revision '410dee56... The error comes from the git rev-list --stdin invocation in git-rebase--interactive.sh

Re: Re* [PATCH v2 1/2] refs: refs/worktree/* become per-worktree

2015-08-11 Thread David Turner
On Tue, 2015-08-11 at 14:10 -0700, Junio C Hamano wrote: David Turner dtur...@twopensource.com writes: P.S. I noticed an issue with patch 2/2; I had reverted a now-unnecessary hack, but accidentally reverted the whole file. So I'll need to re-roll anyway. -- To unsubscribe from this list: send

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

2015-08-11 Thread Eric Sunshine
On Tue, Aug 11, 2015 at 4:57 PM, Jacob Keller jacob.e.kel...@intel.com wrote: Add new option notes.ref.merge option which specifies the merge strategy for merging into a given notes ref. This option enables selection of merge strategy for particular notes refs, rather than all notes ref

Re: [PATCH v4 1/4] notes: document cat_sort_uniq rewriteMode

2015-08-11 Thread Johan Herland
On Tue, Aug 11, 2015 at 10:57 PM, Jacob Keller jacob.e.kel...@intel.com wrote: From: Jacob Keller jacob.kel...@gmail.com Teach documentation about the cat_sort_uniq rewriteMode that got added at the same time as the equivalent merge strategy. Signed-off-by: Jacob Keller

Re: [PATCH v4 2/4] notes: add tests for --commit/--abort/--strategy exclusivity

2015-08-11 Thread Johan Herland
On Tue, Aug 11, 2015 at 10:57 PM, Jacob Keller jacob.e.kel...@intel.com wrote: From: Jacob Keller jacob.kel...@gmail.com Add new tests to ensure that --commit, --abort, and --strategy are mutually exclusive. Signed-off-by: Jacob Keller jacob.kel...@gmail.com Reviewed-by: Johan Herland

Re: [PATCH v5 3/5] pseudorefs: create and use pseudoref update and delete functions

2015-08-11 Thread Junio C Hamano
David Turner dtur...@twopensource.com writes: On Fri, 2015-07-31 at 16:40 -0700, Stefan Beller wrote: I am sorry for being late to the review, I looked into coverity today as Duy bugged me to fix the memory allocation stuff[1] Thanks. Junio, can you pleas substitute the attached patch

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

2015-08-11 Thread Eric Sunshine
On Tue, Aug 11, 2015 at 4:51 PM, Johannes Sixt j...@kdbg.org 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,

Re: [PATCH v5 3/5] pseudorefs: create and use pseudoref update and delete functions

2015-08-11 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: David Turner dtur...@twopensource.com writes: On Fri, 2015-07-31 at 16:40 -0700, Stefan Beller wrote: I am sorry for being late to the review, I looked into coverity today as Duy bugged me to fix the memory allocation stuff[1] Thanks. Junio, can you

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

2015-08-11 Thread Junio C Hamano
Eric Sunshine sunsh...@sunshineco.com writes: On Tue, Aug 11, 2015 at 4:51 PM, Johannes Sixt j...@kdbg.org 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

Re: [PATCH v5 3/5] pseudorefs: create and use pseudoref update and delete functions

2015-08-11 Thread David Turner
On Tue, 2015-08-11 at 15:47 -0700, Junio C Hamano wrote: Junio C Hamano gits...@pobox.com writes: David Turner dtur...@twopensource.com writes: On Fri, 2015-07-31 at 16:40 -0700, Stefan Beller wrote: I am sorry for being late to the review, I looked into coverity today as Duy

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

2015-08-11 Thread Junio C Hamano
Eric Sunshine sunsh...@sunshineco.com writes: On Tue, Aug 11, 2015 at 4:51 PM, Johannes Sixt j...@kdbg.org 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

Re: [PATCH 10/17] path.c: drop git_path_submodule

2015-08-11 Thread Jeff King
On Mon, Aug 10, 2015 at 03:57:31PM -0700, Junio C Hamano wrote: Junio C Hamano gits...@pobox.com writes: Jeff King p...@peff.net writes: There are no callers of the slightly-dangerous static-buffer git_path_submodule left. Let's drop it. There are a few callers added on 'pu',

Re: [PATCH] config.mak.uname: Cygwin: Use renames for creation

2015-08-11 Thread Adam Dinwoodie
On Mon, Aug 10, 2015 at 12:08:29PM -0700, Junio C Hamano wrote: But in the end, I'd prefer the choice of the compiled-in default up to the port maintainers. You earlier said: This problem was reported on the Cygwin mailing list at https://cygwin.com/ml/cygwin/2015-08/msg00102.html

Re: [PATCH 2/2] pager_in_use: make sure output is still going to pager

2015-08-11 Thread Per Cederqvist
On Mon, Aug 10, 2015 at 7:24 PM, Jeff King p...@peff.net wrote: On Mon, Aug 10, 2015 at 06:38:10PM +0200, Johannes Schindelin wrote: +const char *pipe_id_get(int fd) +{ + static struct strbuf id = STRBUF_INIT; + struct stat st; + + if (fstat(fd, st) 0 || !S_ISFIFO(st.st_mode))

Re: [PATCH 04/17] add_to_alternates_file: don't add duplicate entries

2015-08-11 Thread Jeff King
On Tue, Aug 11, 2015 at 06:00:20AM +0200, Michael Haggerty wrote: Instead of using hold_lock_file_for_append, let's copy the file line by line, which ensures all records are properly terminated. If we see an extra line, we can simply abort the update (there is no point in even copying the

Question

2015-08-11 Thread Jet Rey Maza
Hi, I'm wondering why gitbash dont have wget? -- 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: Error pushing new branch: value too great for base (error token is...

2015-08-11 Thread Gaurav Chhabra
Thanks for the detailed explanation Eric! That really helped clear my doubts. Also tried with 0x and it's working fine however, as suggested by you, i will use '=' Thanks again! :) On Tue, Aug 11, 2015 at 4:17 AM, Eric Sunshine sunsh...@sunshineco.com wrote: On Mon, Aug 10, 2015 at 6:29 PM,

Re: [PATCH 05/17] remove hold_lock_file_for_append

2015-08-11 Thread Jeff King
On Mon, Aug 10, 2015 at 03:36:14PM -0700, Junio C Hamano wrote: Jeff King p...@peff.net writes: No users of hold_lock_file_for_append remain, so remove it. This does not seem to have anything to do with rotating static buffers used in get_pathname(); the only effect it has is to conflict

Re: [PATCH v3] worktree: add 'list' command

2015-08-11 Thread Mike Rappazzo
On Mon, Aug 10, 2015 at 6:10 PM, Junio C Hamano gits...@pobox.com wrote: Michael Rappazzo rappa...@gmail.com writes: +static int list(int ac, const char **av, const char *prefix) +{ + int main_only = 0; + struct option options[] = { + OPT_BOOL(0, main-only, main_only,

Re: [PATCH 04/10] branch: roll show_detached HEAD into regular ref_list

2015-08-11 Thread Karthik Nayak
On Tue, Aug 11, 2015 at 8:11 AM, Eric Sunshine sunsh...@sunshineco.com wrote: On Tue, Aug 4, 2015 at 9:01 AM, Karthik Nayak karthik@gmail.com wrote: Remove show_detached() and make detached HEAD to be rolled into regular ref_list by adding REF_DETACHED_HEAD as a kind of branch and

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

2015-08-11 Thread 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 support this brokenness. Instead, git-archive should

Re: [PATCH v3] worktree: add 'list' command

2015-08-11 Thread Mike Rappazzo
On Mon, Aug 10, 2015 at 10:55 PM, David Turner dtur...@twopensource.com wrote: On Mon, 2015-08-10 at 16:53 -0400, Michael Rappazzo wrote: + while ((d = readdir(dir)) != NULL) { I think it would be useful to break this loop out into a for_each_worktree function. While

Re: [PATCH 03/10] branch: bump get_head_description() to the top

2015-08-11 Thread Karthik Nayak
On Tue, Aug 11, 2015 at 7:29 AM, Eric Sunshine sunsh...@sunshineco.com wrote: On Tue, Aug 4, 2015 at 9:01 AM, Karthik Nayak karthik@gmail.com wrote: This is a preperatory patch for 'roll show_detached HEAD into regular ref_list'. This patch moves get_head_descrition() to the top so that

[bug] git-svn segmentation fault

2015-08-11 Thread Kosenko Roman
Hello, I use git-svn. I have used it without any problem for two month. Now git starts crashing after svn rebase (maybe also after other operations with a remote svn server, I'll check when will do svn dcommit next time). It successfully done the operation and only then it crashes: $ git svn

Merging after directory got turned into submodule

2015-08-11 Thread Martin von Gagern
Hi! I've noticed that if I turn a subdirectory into a submodule, I'm having severe trouble merging branches from before that change, even if they don't modify that subdirectory at all. I've posted this problem on Stack Overflow and started a bounty for it. See

Re: [PATCH 02/10] branch: refactor width computation

2015-08-11 Thread Karthik Nayak
On Tue, Aug 11, 2015 at 7:28 AM, Eric Sunshine sunsh...@sunshineco.com wrote: On Tue, Aug 4, 2015 at 9:01 AM, Karthik Nayak karthik@gmail.com wrote: Remove unnecessary variables from ref_list and ref_item which were used for width computation. This is to make ref_item similar to

Re: [PATCH v6 2/2] notes: handle multiple worktrees

2015-08-11 Thread Johan Herland
On Mon, Aug 10, 2015 at 7:52 PM, David Turner dtur...@twopensource.com wrote: Before creating NOTES_MERGE_REF, check NOTES_MERGE_REF using find_shared_symref and die if we find one. This prevents simultaneous merges to the same notes branch from different worktrees. Signed-off-by: David

Re: Merging after directory got turned into submodule

2015-08-11 Thread John Keeping
On Tue, Aug 11, 2015 at 03:02:41PM +0200, Martin von Gagern wrote: I've noticed that if I turn a subdirectory into a submodule, I'm having severe trouble merging branches from before that change, even if they don't modify that subdirectory at all. I've posted this problem on Stack Overflow

Re: Question

2015-08-11 Thread Johannes Schindelin
Hi, On 2015-08-11 10:28, Jet Rey Maza wrote: I'm wondering why gitbash dont have wget? Please take the time to write coherent questions in the future, giving enough context for others to understand what you are talking about. We are not dogs that you throw some bones, you know? We are highly

Re: [PATCH] usage: try harder to format very long error messages

2015-08-11 Thread Jeff King
On Tue, Aug 11, 2015 at 09:28:34AM -0700, Stefan Beller wrote: On Tue, Aug 11, 2015 at 9:17 AM, Jeff King p...@peff.net wrote: We use a fixed-size buffer of 4096 bytes to format die() and error() messages. We explicitly avoided using a strbuf or other fanciness here, because we want to

Re: [PATCH] usage: try harder to format very long error messages

2015-08-11 Thread Junio C Hamano
Jeff King p...@peff.net writes: We use a fixed-size buffer of 4096 bytes to format die() and error() messages. We explicitly avoided using a strbuf or other fanciness here, because we want to make sure that we report the message even in the face of malloc() failure (after all, we might even

Re: [PATCH v3] worktree: add 'list' command

2015-08-11 Thread Junio C Hamano
Mike Rappazzo rappa...@gmail.com writes: + int is_bare = is_bare_repository(); Please do not introduce decl-after-stmt. Since I reused this value below, I thought it would be acceptable. Use of a new variable is fine. Do not declare one in a block after you already wrote statement is

Re: [PATCH v3] worktree: add 'list' command

2015-08-11 Thread Junio C Hamano
David Turner dtur...@twopensource.com writes: On Mon, 2015-08-10 at 16:53 -0400, Michael Rappazzo wrote: +while ((d = readdir(dir)) != NULL) { I think it would be useful to break this loop out into a for_each_worktree function. Very good point. -- To unsubscribe from

[PATCH] usage: try harder to format very long error messages

2015-08-11 Thread Jeff King
We use a fixed-size buffer of 4096 bytes to format die() and error() messages. We explicitly avoided using a strbuf or other fanciness here, because we want to make sure that we report the message even in the face of malloc() failure (after all, we might even be dying due to a malloc call). In

Re: [PATCH] usage: try harder to format very long error messages

2015-08-11 Thread Stefan Beller
On Tue, Aug 11, 2015 at 9:17 AM, Jeff King p...@peff.net wrote: We use a fixed-size buffer of 4096 bytes to format die() and error() messages. We explicitly avoided using a strbuf or other fanciness here, because we want to make sure that we report the message even in the face of malloc()

Re: [PATCH 01/10] ref-filter: add option to filter only branches

2015-08-11 Thread Junio C Hamano
Karthik Nayak karthik@gmail.com writes: From: Karthik Nayak karthik@gmail.com Add an option in 'filter_refs()' to use 'for_each_branch_ref()' and filter refs. This type checking is done by adding a 'FILTER_REFS_BRANCHES' in 'ref-filter.h'. Add an option in 'ref_filter_handler()' to

[PATCH 2/2] vreportf: avoid intermediate buffer

2015-08-11 Thread Jeff King
When we call die(fmt, args...), we end up in vreportf with two pieces of information: 1. The prefix fatal: 2. The original fmt and va_list of args. We format item (2) into a temporary buffer, and then fprintf the prefix and the temporary buffer, along with a newline. This has the

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

2015-08-11 Thread Junio C Hamano
Karthik Nayak karthik@gmail.com 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 char *cp, const char *ep) +static void

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

2015-08-11 Thread Junio C Hamano
Karthik Nayak karthik@gmail.com 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); + format_quote_value(atomv, state); +

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

2015-08-11 Thread Junio C Hamano
Karthik Nayak karthik@gmail.com 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_compenstation = strlen(s) - display_len;

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

2015-08-11 Thread Junio C Hamano
Karthik Nayak karthik@gmail.com 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 'reset' as a color); resetv.s =

Re: [PATCH] usage: try harder to format very long error messages

2015-08-11 Thread Jeff King
On Tue, Aug 11, 2015 at 09:34:31AM -0700, Junio C Hamano wrote: As for vwritef, it exists solely to work over write(), _and_ it doesn't get the one-shot thing right (which is probably OK, as we use it only when exec fails). But we could probably teach run-command to fdopen(), and get rid

[PATCH 1/2] vreportf: report to arbitrary filehandles

2015-08-11 Thread Jeff King
The vreportf function always goes to stderr, but run-command wants child errors to go to the parent's original stderr. To solve this, commit a5487dd duplicates the stderr fd and installs die and error handlers to direct the output appropriately (which later turned into the vwritef function). This

Re: [PATCH v5 2/5] refs: add ref_type function

2015-08-11 Thread David Turner
On Mon, 2015-08-03 at 20:55 +0700, Duy Nguyen wrote: On Fri, Jul 31, 2015 at 1:06 PM, David Turner dtur...@twopensource.com wrote: Add a function ref_type, which categorizes refs as per-worktree, pseudoref, or normal ref. For per-worktree refs, you probably should follow common_list[] in

Re: [PATCH v2 07/16] prepare_tempfile_object(): new function, extracted from create_tempfile()

2015-08-11 Thread Junio C Hamano
Michael Haggerty mhag...@alum.mit.edu writes: This makes the next step easier. The old code used to use path to set the initial length of tempfile-filename. This was not helpful because path was usually relative whereas the value stored to filename will be absolute. So just initialize the

config options for automatic signed tags and signed pushes

2015-08-11 Thread Matthew Thode
If it doesn't already exist (not that I can find). I'd like to see config options analogous to commit.gpgsign for both tagging and pushing. Not sure where else to send this request though, let me know if there's a better place. Thanks, -- Matthew Thode signature.asc Description: OpenPGP

Re: [PATCH v2 03/16] lockfile: add accessors get_lock_file_fd() and get_lock_file_fp()

2015-08-11 Thread Junio C Hamano
Michael Haggerty mhag...@alum.mit.edu writes: We are about to move those members, so change client code to read them through accessor functions. Hmph, _fp() variant does not seem to be used at all at this step, though. -- To unsubscribe from this list: send the line unsubscribe git in the

Re: [PATCH v5 3/5] pseudorefs: create and use pseudoref update and delete functions

2015-08-11 Thread David Turner
On Fri, 2015-07-31 at 16:40 -0700, Stefan Beller wrote: I am sorry for being late to the review, I looked into coverity today as Duy bugged me to fix the memory allocation stuff[1] Thanks. Junio, can you pleas substitute the attached patch instead? It addresses Stefan's issues. If you

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

2015-08-11 Thread Junio C Hamano
Karthik Nayak karthik@gmail.com writes: struct atom_value{ Obviously not a problem with this step, but you need a SP before the open brace. @@ -692,6 +704,26 @@ static void populate_value(struct ref_array_item *ref) else v-s = ;

Re: [PATCH v2 01/16] Move lockfile documentation to lockfile.h and lockfile.c

2015-08-11 Thread Junio C Hamano
Michael Haggerty mhag...@alum.mit.edu writes: Rearrange/rewrite it somewhat to fit its new environment. ... diff --git a/lockfile.h b/lockfile.h index b4abc61..a483cc9 100644 --- a/lockfile.h +++ b/lockfile.h @@ -4,54 +4,103 @@ ... @@ -68,16 +117,51 @@ struct lock_file { #define

Re: [PATCH v2 04/16] lockfile: add accessor get_lock_file_path()

2015-08-11 Thread Junio C Hamano
Michael Haggerty mhag...@alum.mit.edu writes: Signed-off-by: Michael Haggerty mhag...@alum.mit.edu --- I was briefly confused by the similarity between get_locked_file_path() and this new helper ;-) but names of both make sense to me. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v2 13/16] lock_repo_for_gc(): compute the path to gc.pid only once

2015-08-11 Thread Junio C Hamano
On Tue, Aug 11, 2015 at 1:06 PM, Junio C Hamano gits...@pobox.com wrote: Looks correct; somehow this reminded me of the other topic from Peff to reduce use of git_path() ;-) - pidfile = git_pathdup(gc.pid); + pidfile = pidfile_path;

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

2015-08-11 Thread Junio C Hamano
Michael Haggerty mhag...@alum.mit.edu writes: Signed-off-by: Michael Haggerty mhag...@alum.mit.edu --- diff.c | 29 +++-- 1 file changed, 7 insertions(+), 22 deletions(-) Nice code reduction. diff --git a/diff.c b/diff.c index 7500c55..dc95247 100644 --- a/diff.c

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

2015-08-11 Thread Johannes Sixt
On Windows, 'git rebase -i' with rebase.missingCommitsCheck set to warn or error reports: Dropped commits (newer to older): 'atal: bad revision '410dee56... The error comes from the git rev-list --stdin invocation in git-rebase--interactive.sh (function check_todo_list). It is caused by

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

2015-08-11 Thread Junio C Hamano
Thanks for a pleasant read. All looked reasonable. -- 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 ee/clean-remove-dirs] t7300-clean: require POSIXPERM for chmod 0 test

2015-08-11 Thread Johannes Sixt
A test case introduced by 91479b9c (t7300: add tests to document behavior of clean and nested git) uses 'chmod 0' to verify that a subdirectory that has an unreadable .git file is not removed. This can work only when the system pays attention to the permissions set with 'chmod'. Therefore, set the

Re: [PATCH v2 13/16] lock_repo_for_gc(): compute the path to gc.pid only once

2015-08-11 Thread Junio C Hamano
Michael Haggerty mhag...@alum.mit.edu writes: Signed-off-by: Michael Haggerty mhag...@alum.mit.edu --- builtin/gc.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/builtin/gc.c b/builtin/gc.c index 36fe333..c41354b 100644 --- a/builtin/gc.c +++ b/builtin/gc.c

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

2015-08-11 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: Johannes Sixt j...@kdbg.org writes: On Windows, 'git rebase -i' with rebase.missingCommitsCheck set to warn or error reports: Dropped commits (newer to older): 'atal: bad revision '410dee56... The error comes from the git rev-list --stdin

Re: [PATCH ee/clean-remove-dirs] t7300-clean: require POSIXPERM for chmod 0 test

2015-08-11 Thread Junio C Hamano
Thanks. -- 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: Re* [PATCH v2 1/2] refs: refs/worktree/* become per-worktree

2015-08-11 Thread Junio C Hamano
David Turner dtur...@twopensource.com writes: What does gitk do that's relevant here? Ahh, my mistake. gitk spawned from bisect visualize is not even aware of the fact that it is showing the revision ranges delimited by the bisect references. -- To unsubscribe from this list: send the line

Re: [PATCH v4 3/4] notes: add notes.merge option to select default strategy

2015-08-11 Thread Johan Herland
On Tue, Aug 11, 2015 at 10:57 PM, Jacob Keller jacob.e.kel...@intel.com wrote: From: Jacob Keller jacob.kel...@gmail.com Teach git-notes about notes.merge to select a general strategy for all notes merges. This enables a user to always get expected merge strategy such as cat_sort_uniq without

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

2015-08-11 Thread Eric Sunshine
On Tue, Aug 11, 2015 at 6:56 PM, Junio C Hamano gits...@pobox.com wrote: Eric Sunshine sunsh...@sunshineco.com writes: On Tue, Aug 11, 2015 at 4:51 PM, Johannes Sixt j...@kdbg.org wrote: Invoking plink requires special treatment, and we have support and even test cases for the commands

[PATCH v3] send-email: provide whitelist of SMTP AUTH mechanisms

2015-08-11 Thread Jan Viktorin
When sending an e-mail, the client and server must agree on an authentication mechanism. Some servers (due to misconfiguration or a bug) deny valid credentials for certain mechanisms. In this patch, a new option --smtp-auth and configuration entry smtpAuth are introduced. If smtp_auth is defined,

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

2015-08-11 Thread Junio C Hamano
Johan Herland jo...@herland.net writes: I know that we don't yet have a proper place to put remote notes refs, but the ref in notes.ref.merge _must_ be a local notes ref (you even use the localref notation in the documentation below). Thus, I believe we can presume that the local notes ref

Fwd: Re: [PATCH v5 3/5] clone: do not include authentication data in guessed dir

2015-08-11 Thread Torsten Bögershausen
On 08/10/2015 05:48 PM, Patrick Steinhardt wrote: Sorry for the late reply (and possible re-sending), I just stumbled over this in transport.c: /* * Strip username (and password) from a URL and return * it in a newly allocated string. */ char *transport_anonymize_url(const char *url)

Re: [PATCH v2 1/3] test_terminal: redirect child process' stdin to a pty

2015-08-11 Thread Paul Tan
On Fri, Aug 7, 2015 at 6:15 AM, Eric Sunshine sunsh...@sunshineco.com wrote: An alternative would be to have git-am detect that it is being tested and pretend that isatty() returns true. I would vastly prefer a solution that would work for everything, for all the C code and scripts, instead of

Re: [PATCH v2 3/3] am: let --signoff override --no-signoff

2015-08-11 Thread Paul Tan
On Fri, Aug 7, 2015 at 5:29 PM, Johannes Schindelin johannes.schinde...@gmx.de wrote: diff --git a/builtin/am.c b/builtin/am.c index 0961304..8c95aec 100644 --- a/builtin/am.c +++ b/builtin/am.c @@ -2265,6 +2284,9 @@ int cmd_am(int argc, const char **argv, const char *prefix)

Re: [PATCH v2 3/3] am: let --signoff override --no-signoff

2015-08-11 Thread Paul Tan
On Wed, Aug 12, 2015 at 11:06 AM, Paul Tan pyoka...@gmail.com wrote: It's not present in this diff context, but this hunk modifies the code path where in_progress is true. In other words, we only check for SIGNOFF_EXPLICIT if ..we are resuming. (Ugh, butter fingers) Thanks, Paul -- To

Re: [PATCH v3] send-email: provide whitelist of SMTP AUTH mechanisms

2015-08-11 Thread Eric Sunshine
On Wed, Aug 12, 2015 at 01:39:44AM +0200, Jan Viktorin wrote: When sending an e-mail, the client and server must agree on an authentication mechanism. Some servers (due to misconfiguration or a bug) deny valid credentials for certain mechanisms. In this patch, a new option --smtp-auth and

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

2015-08-11 Thread Johan Herland
On Tue, Aug 11, 2015 at 10:57 PM, Jacob Keller jacob.e.kel...@intel.com wrote: From: Jacob Keller jacob.kel...@gmail.com Add new option notes.ref.merge option which specifies the merge strategy for merging into a given notes ref. This option enables selection of merge strategy for particular