In libgit2 nomenclature, when we need to verb a direct object, we name a function `git_directobject_verb`. Thus, if we need to init an options structure named `git_foo_options`, then the name of the function that does that should be `git_foo_options_init`. The previous names of `git_foo_init_options` is close - it _sounds_ as if it's initializing the options of a `foo`, but in fact `git_foo_options` is its own noun that should be respected. Deprecate the old names; they'll now call directly to the new ones.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
CMakeLists.txt | Loading commit data... | |
COPYING | Loading commit data... | |
README.md | Loading commit data... | |
add.c | Loading commit data... | |
blame.c | Loading commit data... | |
cat-file.c | Loading commit data... | |
checkout.c | Loading commit data... | |
clone.c | Loading commit data... | |
common.c | Loading commit data... | |
common.h | Loading commit data... | |
describe.c | Loading commit data... | |
diff.c | Loading commit data... | |
fetch.c | Loading commit data... | |
for-each-ref.c | Loading commit data... | |
general.c | Loading commit data... | |
index-pack.c | Loading commit data... | |
init.c | Loading commit data... | |
lg2.c | Loading commit data... | |
log.c | Loading commit data... | |
ls-files.c | Loading commit data... | |
ls-remote.c | Loading commit data... | |
merge.c | Loading commit data... | |
remote.c | Loading commit data... | |
rev-list.c | Loading commit data... | |
rev-parse.c | Loading commit data... | |
show-index.c | Loading commit data... | |
status.c | Loading commit data... | |
tag.c | Loading commit data... |