Name |
Last commit
|
Last update |
---|---|---|
.. | ||
binaryunicode.c | ||
checkout_helpers.c | ||
checkout_helpers.h | ||
conflict.c | ||
crlf.c | ||
head.c | ||
icase.c | ||
index.c | ||
nasty.c | ||
tree.c | ||
typechange.c |
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 |
---|---|---|
.. | ||
binaryunicode.c | Loading commit data... | |
checkout_helpers.c | Loading commit data... | |
checkout_helpers.h | Loading commit data... | |
conflict.c | Loading commit data... | |
crlf.c | Loading commit data... | |
head.c | Loading commit data... | |
icase.c | Loading commit data... | |
index.c | Loading commit data... | |
nasty.c | Loading commit data... | |
tree.c | Loading commit data... | |
typechange.c | Loading commit data... |