[PATCH v5 1/6] implement test_might_fail using a refactored test_must_fail

2015-11-15 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. Signed-off-by: Junio C Hamano

[PATCH v5 0/6] Add Travis CI support

2015-11-15 Thread larsxschneider
From: Lars Schneider diff to v4: * add Junio's "test_must_fail ok=" refactor that he sent as response to my patch. Did I attribute this to Junio in the right way by adding "Signed-off-by: Junio C Hamano " to the commit message? Please let me

[PATCH v5 5/6] git-p4: add trap to kill p4d on test exit

2015-11-15 Thread larsxschneider
From: Lars Schneider Sometimes the "prove" test runner hangs on test exit because p4d is still running. Add a trap to always kill "p4d" on test exit. You can reproduce the problem by commenting "P4D_TIMEOUT" in "lib-git-p4.sh" and running "prove

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

2015-11-15 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

[PATCH v5 3/6] git-p4: retry kill/cleanup operations in tests with timeout

2015-11-15 Thread larsxschneider
From: Lars Schneider In rare cases kill/cleanup operations in tests fail. Retry these operations with a timeout to make the test less flaky. Signed-off-by: Lars Schneider --- t/lib-git-p4.sh | 31 +++ 1 file

[PATCH v5 4/6] git-p4: add p4d timeout in tests

2015-11-15 Thread larsxschneider
From: Lars Schneider In rare cases p4d seems to hang. This watchdog will kill the p4d process after 300s in any case. That means each individual git p4 test needs to finish before 300s or it will fail. Signed-off-by: Lars Schneider ---

[PATCH v5 6/6] Add Travis CI support

2015-11-15 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

Re: [PATCH v2] add test to demonstrate that shallow recursive clones fail

2015-11-15 Thread Lars Schneider
On 13 Nov 2015, at 00:34, Stefan Beller wrote: > On Thu, Nov 12, 2015 at 1:37 AM, wrote: >> From: Lars Schneider >> >> "git clone --recursive --depth 1 --single-branch " clones the >> submodules successfully. However,

Re: [PATCH v2] add test to demonstrate that shallow recursive clones fail

2015-11-15 Thread Lars Schneider
On 13 Nov 2015, at 06:35, Jeff King wrote: > On Thu, Nov 12, 2015 at 10:37:41AM +0100, larsxschnei...@gmail.com wrote: > >> From: Lars Schneider >> >> "git clone --recursive --depth 1 --single-branch " clones the >> submodules successfully. However,

Re: [RFC] URL rewrite in .gitmodules

2015-11-15 Thread Lars Schneider
On 26 Oct 2015, at 17:52, Jens Lehmann wrote: > Am 26.10.2015 um 17:34 schrieb Stefan Beller: >> On Sun, Oct 25, 2015 at 8:12 AM, Lars Schneider >> wrote: >>> On 20 Oct 2015, at 19:33, Junio C Hamano wrote: I do not think

[PATCH v2 1/2] sendemail: teach git-send-email to list aliases

2015-11-15 Thread Jacob Keller
From: Jacob Keller Add an option "list-aliases" which changes the default behavior of git-send-email. This mode will simply read the alias files configured by sendemail.aliasesfile and sendemail.aliasfiletype and print a list of all known aliases. The intended usecase for

[PATCH v2 2/2] completion: add support for completing email aliases

2015-11-15 Thread Jacob Keller
From: Jacob Keller Using the new --list-aliases option from git-send-email, add completion for --to, --cc, and --bcc with the available configured aliases. Signed-off-by: Jacob Keller --- Notes: - v2 * reuse parsing from git-send-email

Re: [PATCH] notes: allow merging from arbitrary references

2015-11-15 Thread Johan Herland
On Fri, Nov 13, 2015 at 5:34 PM, Jacob Keller wrote: > From: Jacob Keller > > Create a new expansion function, expand_loose_notes_ref which will > expand any ref using get_sha1, but falls back to expand_notes_ref if > this fails. The contents of

Re: [PATCH] notes: allow merging from arbitrary references

2015-11-15 Thread Jacob Keller
On Sun, Nov 15, 2015 at 2:14 PM, Johan Herland wrote: >> --- >> I do not remember what version this was since it has been an age ago >> that I sent the previous code. This is mostly just a rebase onto current >> next. I believe I have covered everything previous reviewers

допоможіть нашому сайту http://guru.pp.ua/ - будь ласка, відкрийте його для перегляду однієї-двох сторінок

2015-11-15 Thread admin
Доброго дня, будь ласка, просимо переглянути наш сайт, якщо це не важко для вас, http://guru.pp.ua/ - будь ласка, відкрийте його для перегляду однієї-двох сторінок, і на будь-якій сторінці один раз натисніть на рекламний банер, який вам найбільш цікавий, це Ваша допомога, щоб ми могли заплатити

Re: [PATCH] notes: allow merging from arbitrary references

2015-11-15 Thread Johan Herland
On Mon, Nov 16, 2015 at 12:23 AM, Jacob Keller wrote: > On Sun, Nov 15, 2015 at 2:14 PM, Johan Herland wrote: >> A related topic that has been discussed (although I cannot remember if >> any conclusion was reached) is whether to allow more notes

opening an editor from git-gui on a file

2015-11-15 Thread Adam GROSZER
Hi there, Hopefully sending the question/idea to the right list... I'm missing the feature to open a (configurable) editor with the currently selected file in git gui. E.g. Looking at https://cdn.tutsplus.com/net/uploads/legacy/2081_gitwin/git-gui-stage.jpg I'd like to open my editor with