On Tue, Jun 19, 2012 at 02:59:16PM -0400, Jeff King wrote: > > Unless the user manually sets GIT_USER_AGENT, This forces a full rebuild > > due to changed CFLAGS whenever the version changes. Can you make it so > > that only version.o needs to be rebuilt, as with the normal git version > > string? > > Ick, yeah. I had though this was already the case, but it turns out that > it was a peculiarity of my personal config.mak (I set a custom $prefix > based on the branch, and it has a similar problem). I'll see if I can > fix both. Here it is. [1/3]: Makefile: apply dependencies consistently to sparse/asm targets [2/3]: Makefile: split GIT_USER_AGENT from GIT-CFLAGS [3/3]: Makefile: split prefix flags from GIT-CFLAGS Patches go on top of jk/version-string. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html