Re: [PATCH v2 19/19] signed push: fortify against replay attacks

2014-08-30 Thread Stefan Beller
On 22.08.2014 22:30, Junio C Hamano wrote: @@ -1226,12 +1232,28 @@ static int delete_only(struct command *commands) return 1; } +static char *prepare_push_cert_nonce(const char *sitename, const char *dir) +{ + struct strbuf buf = STRBUF_INIT; + unsigned char sha1[20]; +

progress.c does not compile under Mac OS X

2014-08-30 Thread Torsten Bögershausen
progress.c:66: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function) You can not cast a undeclared into void in git-compat-uitl.h: #define timer_create(clockid, sevp, timerp) ((void) (clockid), (void) (sevp), (void) (timerp), errno Removing the cast of a define into (void) makes

[PATCH] gc --auto: do not run 'pack-refs' and 'reflog expire' twice

2014-08-30 Thread Nguyễn Thái Ngọc Duy
In the --auto code path, gc_before_repack() is called once in parent process then again in the forked process. Stop the second run. Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com --- builtin/gc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/builtin/gc.c b/builtin/gc.c index