Re: [PATCH] Extend runtime prefix computation

2016-04-15 Thread Junio C Hamano
Michael Weiser writes: > Make git fully relocatable at runtime extending the runtime prefix > calculation. Handle absolute and relative paths in argv0. Handle no path > at all in argv0 in a system-specific manner. Replace assertions with > initialised variables and checks that lead to fallback t

Re: Parallel checkout (Was Re: 0 bot for Git)

2016-04-15 Thread Jeff King
On Fri, Apr 15, 2016 at 01:18:46PM +0200, Christian Couder wrote: > On Fri, Apr 15, 2016 at 11:51 AM, Duy Nguyen wrote: > > On Fri, Apr 15, 2016 at 12:04:49AM +0200, Christian Couder wrote: > >> > >> There is a draft of an article about the first part of the Contributor > >> Summit in the draft o

RE: Git mascot

2016-04-15 Thread Randall S. Becker
> On April 15, 2016 12:42 PM> Behalf Of Christian Howe wrote > There has been talk of a git mascot a while back in 2005. Some people > mentioned a fish or a turtle. Since all the great open source projects like > Linux or RethinkDB have a cute mascot, git definitely needs one as well. A > mascot gi

Git mascot

2016-04-15 Thread Christian Howe
There has been talk of a git mascot a while back in 2005. Some people mentioned a fish or a turtle. Since all the great open source projects like Linux or RethinkDB have a cute mascot, git definitely needs one as well. A mascot gives people a recognizable persona towards which they can direct their

Re: possible to checkout same branch in different worktree

2016-04-15 Thread Junio C Hamano
Reto Hablützel writes: > the checkout command prevents me from checking out a branch in the > current worktree if it is already checked out in another worktree. > > However, if I rebase the branch in the current worktree onto the > branch in the other worktree, I end up in a situation where the s

Re: [PATCH] Move test-* to t/helper/ subdirectory

2016-04-15 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > This keeps top dir a bit less crowded. And because these programs are > for testing purposes, it makes sense that they stay somewhere in t/ But leaves many *.o files after "make clean". Even "distclean" does not clean them. > > Signed-off-by: Nguyễn Thái Ngọc Du

Re: Parallel checkout (Was Re: 0 bot for Git)

2016-04-15 Thread Stefan Beller
On Fri, Apr 15, 2016 at 2:51 AM, Duy Nguyen wrote: > On Fri, Apr 15, 2016 at 12:04:49AM +0200, Christian Couder wrote: >> On Tue, Apr 12, 2016 at 4:59 PM, Stefan Beller wrote: >> > On Tue, Apr 12, 2016 at 2:42 AM, Duy Nguyen wrote: >> >>> On Mon, Apr 11, 2016 at 7:51 AM, Stefan Beller >> >>> w

Re: [PATCH 1/2] fsck_commit_buffer(): do not special case the last validation

2016-04-15 Thread Junio C Hamano
Johannes Schindelin writes: >> But that is a selfish code that declares it is the ultimate and >> final form of the function, never to be enhanced later. To allow >> and invite future enhancements, make the last test follow the same >> pattern. > > FWIW I agree with this reasoning. Sorry for lea

[PATCH] Extend runtime prefix computation

2016-04-15 Thread Michael Weiser
Make git fully relocatable at runtime extending the runtime prefix calculation. Handle absolute and relative paths in argv0. Handle no path at all in argv0 in a system-specific manner. Replace assertions with initialised variables and checks that lead to fallback to the static prefix. --- Notes:

possible to checkout same branch in different worktree

2016-04-15 Thread Reto Hablützel
Hi, the checkout command prevents me from checking out a branch in the current worktree if it is already checked out in another worktree. However, if I rebase the branch in the current worktree onto the branch in the other worktree, I end up in a situation where the same branch is checked out twi

Re: [PATCH 2/2] fsck: detect and warn a commit with embedded NUL

2016-04-15 Thread Johannes Schindelin
Hi Junio, On Thu, 14 Apr 2016, Junio C Hamano wrote: > Even though a Git commit object is designed to be capable of storing > any binary data as its payload, in practice people use it to describe > the changes in textual form, and tools like "git log" are designed to > treat the payload as text.

Re: [PATCH 1/2] fsck_commit_buffer(): do not special case the last validation

2016-04-15 Thread Johannes Schindelin
Hi Junio, On Thu, 14 Apr 2016, Junio C Hamano wrote: > The pattern taken by all the validations in this function is: > > if (notice a violation exists) { > err = report(... VIOLATION_KIND ...); > if (err) > return err; > } > > where

Re: Parallel checkout (Was Re: 0 bot for Git)

2016-04-15 Thread Duy Nguyen
On Fri, Apr 15, 2016 at 6:18 PM, Christian Couder wrote: > On Fri, Apr 15, 2016 at 11:51 AM, Duy Nguyen wrote: >> On Fri, Apr 15, 2016 at 12:04:49AM +0200, Christian Couder wrote: >>> >>> There is a draft of an article about the first part of the Contributor >>> Summit in the draft of the next Gi

Re: [PATCH v4 03/16] index-helper: new daemon for caching index and related stuff

2016-04-15 Thread Duy Nguyen
On Thu, Apr 14, 2016 at 1:47 AM, David Turner wrote: >> > + fd = unix_stream_connect(socket_path); >> > + if (refresh_cache) { >> > + ret = write_in_full(fd, "refresh", 8) != 8; >> >> Since we've moved to unix socket and had bidirectional communication, >> it's probably a

Re: Parallel checkout (Was Re: 0 bot for Git)

2016-04-15 Thread Christian Couder
On Fri, Apr 15, 2016 at 11:51 AM, Duy Nguyen wrote: > On Fri, Apr 15, 2016 at 12:04:49AM +0200, Christian Couder wrote: >> >> There is a draft of an article about the first part of the Contributor >> Summit in the draft of the next Git Rev News edition: >> >> https://github.com/git/git.github.io/b

Parallel checkout (Was Re: 0 bot for Git)

2016-04-15 Thread Duy Nguyen
On Fri, Apr 15, 2016 at 12:04:49AM +0200, Christian Couder wrote: > On Tue, Apr 12, 2016 at 4:59 PM, Stefan Beller wrote: > > On Tue, Apr 12, 2016 at 2:42 AM, Duy Nguyen wrote: > >>> On Mon, Apr 11, 2016 at 7:51 AM, Stefan Beller wrote: > Hi Greg, > > Thanks for your talk at the G

'git mv' doesn't move submodule if it's in a subdirectory

2016-04-15 Thread Albin Otterhäll
I've a submodule located in a subdirectory ({git_rep}/home/{directory}/{submodule}), and I wanted to move the whole directory up a level ({git_rep}/{directory}/{submodule}). But when I used 'git mv {directory} ../' the '.gitmodule' file didn't get modified. Best regards, Albin Otterhäll -- To uns

<    1   2