[PATCH v8 11/17] trace: add 'file:line' to all trace output

2014-07-11 Thread Karsten Blees
This is useful to see where trace output came from. Add 'const char *file, int line' parameters to the printing functions and rename them to *_fl. Add trace_printf* and trace_strbuf macros resolving to the *_fl functions and let the preprocessor fill in __FILE__ and __LINE__. As the

Re: [PATCH 1/3] tag: use skip_prefix instead of magic numbers

2014-07-11 Thread Jeff King
On Fri, Jul 11, 2014 at 03:55:45PM -0700, Jacob Keller wrote: From: Jeff King p...@peff.net Make the parsing of the --sort parameter more readable by having skip_prefix keep our pointer up to date. Signed-off-by: Jeff King p...@peff.net Signed-off-by: Jacob Keller

[PATCH v8 4/4] cache-tree: Write updated cache-tree after commit

2014-07-11 Thread David Turner
During the commit process, update the cache-tree. Write this updated cache-tree so that it's ready for subsequent commands. Add test code which demonstrates that git commit now writes the cache tree. Make all tests test the entire cache-tree, not just the root level. Signed-off-by: David Turner

[PATCH v8 1/4] cache-tree: Create/update cache-tree on checkout

2014-07-11 Thread David Turner
When git checkout checks out a branch, create or update the cache-tree so that subsequent operations are faster. update_main_cache_tree learned a new flag, WRITE_TREE_REPAIR. When WRITE_TREE_REPAIR is set, portions of the cache-tree which do not correspond to existing tree objects are

Re: [PATCH] http-push.c: make CURLOPT_IOCTLDATA a usable pointer

2014-07-11 Thread Jeff King
On Sat, Jul 05, 2014 at 08:43:48PM -0400, Abbaad Haider wrote: Fixes a small bug affecting push to remotes which use some sort of multi-pass authentication. In particular the bug affected SabreDAV as configured by Box.com [1]. Thanks. This looks like it was caused by the refactor in ebaaf31

Re: 745224e0 gcc-4.9 emmintrin.h build error

2014-07-11 Thread Jeff King
On Fri, Jul 11, 2014 at 12:12:55AM +0200, Tuncer Ayaz wrote: Sorry, didn't test properly when I tried with/without config.mak, and PROFILE=BUILD was the problem. I had that in config.mak based on information gathered from INSTALL and Makefile. To be clear, is PROFILE=BUILD (still) supported?

Re: Error running 'git status' with Git version of current 'next' branch

2014-07-11 Thread Jeff King
On Wed, Jul 09, 2014 at 09:10:49AM +0200, Ralf Thielow wrote: I'm getting the following error when calling 'git status' on one of my projects. git: dir.c:739: last_exclude_matching_from_list: Assertion `x-baselen == 0 || x-base[x-baselen - 1] == '/'' failed. Aborted (core dumped) I'm

Re: [Bug] data loss with cyclic alternates

2014-07-11 Thread Jeff King
On Fri, Jul 11, 2014 at 06:01:46PM +, Keller, Jacob E wrote: Yeah, don't do that. A thinks eh, the other guy must have it and B thinks the same. In general, do not prune or gc a repository other repositories borrow from, even if there is no cycle, because the borrowee does not know

<    1   2