Re: problems serving non-bare repos with submodules over http

2016-04-20 Thread Stefan Beller
On Wed, Apr 20, 2016 at 2:27 PM, Junio C Hamano wrote: > Stefan Beller writes: > >>> I may be missing the subtleties, but if you are serving others from >>> a non-bare repository with submodules, I do not think you would want >>> to expose the in-tree version of the submodule in the first place.

Re: [PATCH v2 01/12] path.c: add git_common_path() and strbuf_git_common_path()

2016-04-20 Thread Duy Nguyen
On Thu, Apr 21, 2016 at 1:11 AM, Eric Sunshine wrote: > On Wed, Apr 20, 2016 at 9:24 AM, Nguyễn Thái Ngọc Duy > wrote: >> diff --git a/path.c b/path.c >> @@ -503,6 +503,35 @@ void strbuf_git_path_submodule(struct strbuf *buf, >> const char *path, >> +const char *git_common_path(const char *fmt,

Re: [PATCH v2 09/12] worktree.c: test if branch being rebased in another worktree

2016-04-20 Thread Duy Nguyen
On Thu, Apr 21, 2016 at 1:04 AM, Junio C Hamano wrote: >> diff --git a/builtin/checkout.c b/builtin/checkout.c >> index efcbd8f..6041718 100644 >> --- a/builtin/checkout.c >> +++ b/builtin/checkout.c >> @@ -,7 +,7 @@ static int checkout_branch(struct checkout_opts *opts, >> c

Re: problems serving non-bare repos with submodules over http

2016-04-20 Thread Yaroslav Halchenko
NB Thank you for the lively discussion! On Wed, 20 Apr 2016, Stefan Beller wrote: > >> So currently the protocol doesn't allow to even specify the submodules > >> directories. > > Depends on what you exactly mean by "the protocol", but the > > networking protocol is about accessing a single repo

Re: [PATCH 2/5] run-command: teach async threads to ignore SIGPIPE

2016-04-20 Thread Johannes Sixt
Am 20.04.2016 um 00:49 schrieb Jeff King: This is our first use of pthread_sigmask, and I think Windows will have to come up with something for this in compat/. I don't know how SIGPIPE works there at all, so it's possible that we can just turn this into a noop. Worst case it could probably block

Re: [PATCH 2/5] run-command: teach async threads to ignore SIGPIPE

2016-04-20 Thread Jeff King
On Thu, Apr 21, 2016 at 07:15:26AM +0200, Johannes Sixt wrote: > Am 20.04.2016 um 00:49 schrieb Jeff King: > >This is our first use of pthread_sigmask, and I think Windows will have > >to come up with something for this in compat/. I don't know how SIGPIPE > >works there at all, so it's possible t

Re: git rebase -i without altering the committer date

2016-04-20 Thread Johannes Sixt
Am 20.04.2016 um 23:47 schrieb Andreas Schwab: Shaun Jackman writes: I'd like to insert a commit between two commits without changing the committer date or author date of that commit or the subsequent commits. The easiest way to implement that is to add a graft to redirect the parent of the

<    1   2