summaryrefslogtreecommitdiff
path: root/src/git2
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-02-09 12:43:19 +0200
committerVicent Marti <tanoku@gmail.com>2011-02-09 12:43:19 +0200
commit995f9c34a580bc17be577d807f9a3bcfd417a748 (patch)
treed8039db19889dce3ce99eb525367083030335bbe /src/git2
parent772c7e762363d6d5b5627941057775ba06886bb6 (diff)
downloadlibgit2-995f9c34a580bc17be577d807f9a3bcfd417a748.tar.gz
Use the new git__joinpath to build paths in methods
The `git__joinpath` function has been changed to use a statically allocated buffer; we assume the buffer to be 4096 bytes, because fuck you. The new method also supports an arbritrary number of paths to join, which may come in handy in the future. Some methods which were manually joining paths with `strcpy` now use the new function, namely those in `index.c` and `refs.c`. Based on Emeric Fermas' original patch, which was using the old `git__joinpath` because I'm stupid. Thanks! Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/git2')
0 files changed, 0 insertions, 0 deletions