projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make git rebase interactive help match documentation.
[git.git]
/
config.c
diff --git
a/config.c
b/config.c
index
adb5ce4
..
0f518c9
100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-336,8
+336,10
@@
static int store_aux(const char* key, const char* value)
store.state = KEY_SEEN;
store.seen++;
} else if (strrchr(key, '.') - key == store.baselen &&
store.state = KEY_SEEN;
store.seen++;
} else if (strrchr(key, '.') - key == store.baselen &&
- !strncmp(key, store.key, store.baselen))
+ !strncmp(key, store.key, store.baselen))
{
store.state = SECTION_SEEN;
store.state = SECTION_SEEN;
+ store.offset[store.seen] = ftell(config_file);
+ }
}
return 0;
}
}
return 0;
}