[PATCH] win32: syslog: prevent potential realloc memory leak

2014-12-13 Thread Arjun Sreedharan
use a temporary variable to free the memory in case realloc() fails. Signed-off-by: Arjun Sreedharan arjun...@gmail.com --- compat/win32/syslog.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compat/win32/syslog.c b/compat/win32/syslog.c index d015e43..3409e43 100644 ---

Re: reject backwards merges

2014-12-13 Thread David Kastrup
Patrick Donnelly batr...@batbytes.com writes: Is there a way to reject pushes that change the history of first-parents, caused by a backwards merge? To clarify by example (using branches instead of separate repositories): Here the desired first parent (HEAD^) would be commit

Re: [PATCH 3/3] replace binary keyrings with armored keys

2014-12-13 Thread Christian Hesse
Junio C Hamano gits...@pobox.com on Fri, 2014/12/12 13:50: Christian Hesse m...@eworm.de writes: Last but not least git and patch can handle this a lot better. Actually we can handle binary patch just fine ;-) Ah, that was kind of misleading. :-p Generating a patch with git including

Re: [PATCH] doc: core.ignoreStat clarify the --assume-unchanged effect

2014-12-13 Thread Philip Oakley
From: Johannes Schindelin johannes.schinde...@gmx.de Friday, December 12, 2014 10:56 AM Hi Philip, On Thu, 11 Dec 2014, Philip Oakley wrote: diff --git a/Documentation/config.txt b/Documentation/config.txt index c26a7c8..81570b7 100644 --- a/Documentation/config.txt +++

Re: hooks scripts and noexec partition

2014-12-13 Thread krz...@gmail.com
Thanks for the patch, however it is not working (no change, hooks still dont work on noexec partition). Since I see that you are fluent in git code and C can you by any chance tell me how to modify run-command.c to make git run hooks as: /bin/sh hook_path ? 2014-01-15 10:16 GMT+01:00 Jeff King