Avoid padding in structs index_state, packed_git

2015-08-18 Thread Dilyan Palauzov
On 64 bit linux, sizeof (struct index_state) = 160 and sizeof (struct packed_git) = 104. This change shrinks the structs with 8bytes (as it avoids padding) Signed-off-by: Дилян Палаузов git-...@aegee.org --- diff --git a/cache.h b/cache.h index 6bb7119..e00908b 100644 --- a/cache.h +++

Re: [PATCH] Remove duplicate #include

2015-02-13 Thread Dilyan Palauzov
Hello Junio, in theory it speeds up, because the preprocessor has less work to do. In practice I don't know how much and this seems also irrelevant criterion for accepting this patch. Greetings Dilyan On 13.02.2015 22:15, Junio C Hamano wrote: Дилян Палаузов git-...@aegee.org writes:

Re: git 2.2.2 annotate crash (strbuf.c:32)

2015-02-09 Thread Dilyan Palauzov
Hello, this patch fixes the problem for me. Thanks Dilyan On 09.02.2015 19:46, Eric Sunshine wrote: On Mon, Feb 09, 2015 at 11:33:39AM +0100, Dilyan Palauzov wrote: the point is that with exactly the same configuration on one computer there is crash and on another one things work just fine

Re: git 2.2.2 annotate crash (strbuf.c:32)

2015-02-09 Thread Dilyan Palauzov
at 10:33:40PM +0100, Dilyan Palauzov wrote: I use git 2.2.2 and on my system git annotate crashed with the following log. I couldn't reproduce it with a few simple examples. Is it possible for you to show us the repository and command that caused this? I also was unable to reproduce on either

git 2.2.2 annotate crash (strbuf.c:32)

2015-02-08 Thread Dilyan Palauzov
Hello, I use git 2.2.2 and on my system git annotate crashed with the following log. Kind regards Dilyan (gdb) bt full #0 0x7fe420649655 in raise () from /lib64/libc.so.6 No symbol table info available. #1 0x7fe42064aad8 in abort () from /lib64/libc.so.6 No symbol table info