Re: [PATCH v7 2/8] config.c: fix accuracy of line number in errors

2014-08-04 Thread Matthieu Moy
Tanay Abhra tanay...@gmail.com writes: From: Matthieu Moy matthieu@grenoble-inp.fr I usually use my @imag.fr, not @grenoble-inp.fr address as Git author (even though my mailer has @grenoble-inp.fr as From: field). Both addresses are equivalent so it's no big deal. -- Matthieu Moy

[PATCH v7 2/8] config.c: fix accuracy of line number in errors

2014-08-01 Thread Tanay Abhra
From: Matthieu Moy matthieu@grenoble-inp.fr If a callback returns a negative value to `git_config*()` family, they call `die()` while printing the line number and the file name. Currently the printed line number is off by one, thus printing the wrong line number. Make `linenr` point to the