Re: [PATCH] submodule: implement `module_name` as a builtin helper

2015-08-08 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: ... if you really want to go the thread route, the first thing to try would be to see if a few places we already use threads for parallelism (namely, grep, pack-objects, preload-index and index-pack) can be factored out and model your new API around

Re: Error when cloning with weird local directory

2015-08-08 Thread Torsten Bögershausen
On 2015-08-06 09.50, Junio C Hamano wrote: Junio C Hamano gits...@pobox.com writes: Torsten Bögershausen tbo...@web.de writes: It looks as if static char *get_repo_path(const char *repo, int *is_bundle) in built/clone.c checks if there is a local directory structure looking like a .git

Re: [PATCH v9 03/11] ref-filter: implement an `align` atom

2015-08-08 Thread Karthik Nayak
On Fri, Aug 7, 2015 at 8:57 AM, Eric Sunshine sunsh...@sunshineco.com wrote: On Wed, Aug 5, 2015 at 2:54 PM, Karthik Nayak karthik@gmail.com wrote: Implement an `align` atom which will act as a modifier atom and align any string with or without an %(atom) appearing before a %(end) atom to

Re: [PATCH v9 03/11] ref-filter: implement an `align` atom

2015-08-08 Thread Karthik Nayak
On Fri, Aug 7, 2015 at 9:34 AM, Eric Sunshine sunsh...@sunshineco.com wrote: On Wed, Aug 5, 2015 at 2:54 PM, Karthik Nayak karthik@gmail.com wrote: Implement an `align` atom which will act as a modifier atom and align any string with or without an %(atom) appearing before a %(end) atom to

Re: resolving a (possibly remote) branch HEAD to a hash

2015-08-08 Thread Perry Hutchison
Junio C Hamano gits...@pobox.com wrote: per...@pluto.rain.com (Perry Hutchison) writes: $ git rev-parse r5.0.1 r5.0.1 fatal: ambiguous argument 'r5.0.1': unknown revision or path not in the working tree. Use '--' to separate paths from revisions This is not because of

how are you◆

2015-08-08 Thread hkdpjjc
good news samsung s6,280euro, imac, Nikon, Samsung, gultar, ipad S i te: poazzlo .com

Re: [PATCH] sha1_file.c: rename move_temp_to_file() to finalize_temp_file()

2015-08-08 Thread Jeff King
On Fri, Aug 07, 2015 at 05:24:29PM -0700, Junio C Hamano wrote: Since 5a688fe4 (core.sharedrepository = 0mode should set, not loosen, 2009-03-25), we kept reminding ourselves: NEEDSWORK: this should be renamed to finalize_temp_file() as moving is only a part of what it does, when no

Re: wishlist: make it possible to amend commit messages after push to remote

2015-08-08 Thread Jeff King
On Fri, Aug 07, 2015 at 06:50:52PM -0400, Jarkko Hietaniemi wrote: Or another way to illustrate my idea: assume a create-once-no-delete filesystem. echo 42 the_answr.txt Oh, darn it... ln -s the_answr.txt the_answer.txt Now both names still point to the content 42\n. The first SHA

Von James Hartop

2015-08-08 Thread James Hartop
Von James Hartop Brondesbury, North West London, England   Lieber Freund.   Ich bin James William Hartop von Brondesbury, North West London, hier in England. Ich arbeite für Niederlassung der UBS Investment Bank in London. Ich schreibe Ihnen aus meinem Büro, das von einem riesigen Vorteil für

Re: [PATCH v4 1/3] clone: do not include authentication data in guessed dir

2015-08-08 Thread Patrick Steinhardt
On Fri, Aug 07, 2015 at 01:45:54PM -0700, Junio C Hamano wrote: Patrick Steinhardt p...@pks.im writes: On Wed, Aug 05, 2015 at 12:41:27PM -0700, Junio C Hamano wrote: Junio C Hamano gits...@pobox.com writes: For completeness, here is what I think the end result (together with

[PATCH] worktree: list operation

2015-08-08 Thread Michael Rappazzo
I am attempting to add the 'git worktree list' command. I don't have a lot of c experience, so please double check that I am not missing something important. Michael Rappazzo (1): worktree: list operation Documentation/git-worktree.txt | 9 - builtin/worktree.c | 80

[PATCH] worktree: list operation

2015-08-08 Thread Michael Rappazzo
'git worktree list' will list the main worktree followed by any linked worktrees which were created using 'git worktree add'. The option '--main-only' will restrict the list to only the main worktree. --- Documentation/git-worktree.txt | 9 - builtin/worktree.c | 80

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

2015-08-08 Thread Mark Levedahl
On 08/07/2015 04:30 PM, Adam Dinwoodie wrote: When generating build options for Cygwin, enable OBJECT_CREATION_USES_RENAMES. This is necessary to use Git on Windows shared directories, and is already enabled for the MinGW and plain Windows builds. This problem was reported on the Cygwin

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

2015-08-08 Thread brian m. carlson
On Sat, Aug 08, 2015 at 04:47:46PM -0400, Mark Levedahl wrote: On 08/07/2015 04:30 PM, Adam Dinwoodie wrote: When generating build options for Cygwin, enable OBJECT_CREATION_USES_RENAMES. This is necessary to use Git on Windows shared directories, and is already enabled for the MinGW and

Re: [PATCH] worktree: list operation

2015-08-08 Thread Mike Rappazzo
Withdrawn -- I staged but did not amend the final commit. I will adjust and resend. On Sat, Aug 8, 2015 at 4:34 PM, Michael Rappazzo rappa...@gmail.com wrote: 'git worktree list' will list the main worktree followed by any linked worktrees which were created using 'git worktree add'. The

[PATCH v2] worktree: list operation

2015-08-08 Thread Michael Rappazzo
I am attempting to add the 'git worktree list' command. I don't have a lot of c experience, so please double check that I am not missing something important. Sorry about publishing the first version too soon. Michael Rappazzo (1): worktree: list operation Documentation/git-worktree.txt

[PATCH v2] worktree: list operation

2015-08-08 Thread Michael Rappazzo
'git worktree list' will list the main worktree followed by any linked worktrees which were created using 'git worktree add'. The option '--main-only' will restrict the list to only the main worktree. --- Documentation/git-worktree.txt | 9 - builtin/worktree.c | 84

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

2015-08-08 Thread Adam Dinwoodie
On Sat, Aug 08, 2015 at 09:06:28PM +, brian m. carlson wrote: On Sat, Aug 08, 2015 at 04:47:46PM -0400, Mark Levedahl wrote: On 08/07/2015 04:30 PM, Adam Dinwoodie wrote: When generating build options for Cygwin, enable OBJECT_CREATION_USES_RENAMES. This is necessary to use Git on

Re: [PATCH v5 1/2] worktrees: add find_shared_symref

2015-08-08 Thread Eric Sunshine
On Mon, Aug 3, 2015 at 7:06 PM, Eric Sunshine sunsh...@sunshineco.com wrote: On Mon, Aug 3, 2015 at 2:48 PM, David Turner dtur...@twopensource.com wrote: Add a new function, find_shared_symref, which contains the heart of die_if_checked_out, but works for any symref, not just HEAD. Refactor

Re: [PATCH v9 03/11] ref-filter: implement an `align` atom

2015-08-08 Thread Eric Sunshine
On Sat, Aug 8, 2015 at 2:35 AM, Karthik Nayak karthik@gmail.com wrote: On Fri, Aug 7, 2015 at 8:57 AM, Eric Sunshine sunsh...@sunshineco.com wrote: On Wed, Aug 5, 2015 at 2:54 PM, Karthik Nayak karthik@gmail.com wrote: of the padding to be performed. If the atom length is more than the