Re: Is it possible to build `git` such that the install directory and the deployment prefix is not the same?

2015-11-27 Thread Henry Qin
Thanks a lot, Junio and Dennis! ~Henry On Fri, Nov 27, 2015 at 11:47 PM, Dennis Kaarsemaker wrote: > On vr, 2015-11-27 at 23:19 -0800, Henry Qin wrote: > >> Is there a way to specify during either configure or make that I want >> a different path for actual deployment, such as /usr/bin/local, bu

Re: Is it possible to build `git` such that the install directory and the deployment prefix is not the same?

2015-11-27 Thread Junio C Hamano
Henry Qin writes: > Here is the question, copied below for your convenience: > > """ > I am attempting to build git from source, and I would like make > install to put the binaries into a directory called dist in my source > directory, so I use the following configure line. > > ./configure --pref

Is it possible to build `git` such that the install directory and the deployment prefix is not the same?

2015-11-27 Thread Henry Qin
Dear Git developers, I've looked around the online forums and also asked this question on Stackoverflow, but have not gotten an answer. http://stackoverflow.com/questions/33901216/is-it-possible-to-build-git-such-that-the-install-directory-and-the-deployment Here is the question, copied below fo

Fuck you

2015-11-27 Thread Jim Shady
Gmail.com -- 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: [remote rejected] master -> master (n/a (unpacker error))

2015-11-27 Thread DavidLeeCrites
I am getting the same kinds of errors, but the resolutions offered here did not work. After using the ideas (that there was a tmp_* file I did not have perms to write to, I started doing some global searches. One such was this (from inside .git/objects): # ls -alR | grep tmp ls: reading directory

Re: Bug: git crashes on rebase reporting bogus memory corruption

2015-11-27 Thread Daniele Varrazzo
On Fri, Nov 27, 2015 at 2:08 PM, Daniele Varrazzo wrote: > Bogus corruption is bogus because I've reproduced it on different machines. > > I was trying to rewrite history in a small repos and replace > indentation tabs with spaces. Steps to reproduce: Messing up with that repo. Not sure what repo

Re: GIT_INDEX_FILE relative paths are relative to the work tree

2015-11-27 Thread Duy Nguyen
On Fri, Nov 27, 2015 at 4:17 PM, Jack O'Connor wrote: > When I use a relative path in the GIT_INDEX_FILE environment variable, > git interprets that path relative to the the work tree. This can be > confusing if my cwd is some subdirectory of my project; in that case > an index file is created in

GIT_INDEX_FILE relative paths are relative to the work tree

2015-11-27 Thread Jack O'Connor
When I use a relative path in the GIT_INDEX_FILE environment variable, git interprets that path relative to the the work tree. This can be confusing if my cwd is some subdirectory of my project; in that case an index file is created in the project root rather than in my cwd. It can also be confusin

Re: [git-for-windows] How is detected binary files?

2015-11-27 Thread Johannes Schindelin
Hi Andrzej, On Wed, 25 Nov 2015, Andrzej Borucki wrote: > How git detects that file is binary? This must be safe because it not > allowed to change line breaks in binary files. > Binary files can contain byte 0 (zero), but: > - 16 bit UTF also can contain zero > - short binary files can not con

Bug: git crashes on rebase reporting bogus memory corruption

2015-11-27 Thread Daniele Varrazzo
Bogus corruption is bogus because I've reproduced it on different machines. I was trying to rewrite history in a small repos and replace indentation tabs with spaces. Steps to reproduce: git clone https://github.com/dvarrazzo/suponoff.git git checkout -b gitbug git config core.whitespace trailing

[PATCHv3] ident.c: add support for IPv6

2015-11-27 Thread Elia Pinto
Add IPv6 support by implementing name resolution with the protocol agnostic getaddrinfo(3) API. The old gethostbyname(3) code is still available when git is compiled with NO_IPV6. Signed-off-by: Elia Pinto Helped-by: Jeff King Helped-by: Eric Sunshine --- This is the third version of the patch

Re: [PATCH v1 1/2] implement test_might_fail using a refactored test_must_fail

2015-11-27 Thread Ramsay Jones
On 27/11/15 09:15, larsxschnei...@gmail.com wrote: > From: Lars Schneider > > Add an (optional) first parameter "ok=" to test_must_fail > and return success for "". Add "success" as > "" and use it to implement "test_might_fail". This removes > redundancies in test-lib-function.sh. > > You can

[PATCH v8] Add Travis CI support

2015-11-27 Thread larsxschneider
From: Lars Schneider diff to v7: * remove NO_GETTEXT patch and install gettext on OS X to compile with no additional flags (thanks Torsten) * fix P4 version (15.2 is the latest one available) Thanks, Lars Lars Schneider (1): Add Travis CI support .travis.yml | 91 +

[PATCH v8] Add Travis CI support

2015-11-27 Thread larsxschneider
From: Lars Schneider The tests are currently executed on "Ubuntu 12.04 LTS Server Edition 64 bit" and on "OS X Mavericks" using gcc and clang. Perforce and Git-LFS are installed and therefore available for the respective tests. Signed-off-by: Lars Schneider --- .travis.yml | 91 ++

[PATCH v1 0/2] test-must-fail-sigpipe

2015-11-27 Thread larsxschneider
From: Lars Schneider As suggested by Peff I made "test-must-fail-sigpipe" a seperate topic. diff to (former) Travis CI v7 topic: * added helper function "list_contains" provided by Peff (thanks!) * fix return value in "test_must_fail: command succeeded" (thanks Ramsay) * use "-eq" instead of "="

[PATCH v1 1/2] implement test_might_fail using a refactored test_must_fail

2015-11-27 Thread larsxschneider
From: Lars Schneider Add an (optional) first parameter "ok=" to test_must_fail and return success for "". Add "success" as "" and use it to implement "test_might_fail". This removes redundancies in test-lib-function.sh. You can pass multiple arguments divided by comma (e.g. "test_must_fail ok=s

[PATCH v1 2/2] add "ok=sigpipe" to test_must_fail and use it to fix flaky tests

2015-11-27 Thread larsxschneider
From: Lars Schneider t5516 "75 - deny fetch unreachable SHA1, allowtipsha1inwant=true" is flaky in the following case: 1. remote upload-pack finds out "not our ref" 2. remote sends a response and closes the pipe 3. fetch-pack still tries to write commands to the remote upload-pack 4. write call i

Re: [PATCH] convert.c: mark a file-local function static

2015-11-27 Thread Torsten Bögershausen
Thanks for catching, I will. -- 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