diff options
author | sean <seanlkml@sympatico.ca> | 2006-05-06 14:14:02 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-13 14:00:16 -0700 |
commit | bdf0ef0824ecca427ec04ac047ffe4aaf73ace5a (patch) | |
tree | 4307fe678f27e6ba32a75832d9d99f8359e214b6 /t/t1300-repo-config.sh | |
parent | 618faa1dc7cb5898473861c286391d0a4b043107 (diff) | |
download | git-bdf0ef0824ecca427ec04ac047ffe4aaf73ace5a.tar.gz git-bdf0ef0824ecca427ec04ac047ffe4aaf73ace5a.tar.xz |
Another config file parsing fix.
If the variable we need to store should go into a section
that currently only has a single variable (not matching
the one we're trying to insert), we will already be into
the next section before we notice we've bypassed the correct
location to insert the variable.
To handle this case we store the current location as soon
as we find a variable matching the section of our new
variable.
This breakage was brought up by Linus.
Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t1300-repo-config.sh')
0 files changed, 0 insertions, 0 deletions