diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2020-06-02 12:21:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-02 12:21:22 +0100 |
| commit | 6de8aa7f3144efe10d706bca513c8add24e8f407 (patch) | |
| tree | c2da50a184f81796dcfe3ac02e08030834116aa9 /include | |
| parent | 22f9a0fc859a2e65f16dcda9ca5826b1f0c3216c (diff) | |
| parent | 5278a0061100e2527e83f4cb159b40fc58bc786c (diff) | |
| download | libgit2-6de8aa7f3144efe10d706bca513c8add24e8f407.tar.gz | |
Merge pull request #5532 from joshtriplett/pack-default-path
git_packbuilder_write: Allow setting path to NULL to use the default path
Diffstat (limited to 'include')
| -rw-r--r-- | include/git2/pack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/pack.h b/include/git2/pack.h index 922a3cd9d..3b9beb665 100644 --- a/include/git2/pack.h +++ b/include/git2/pack.h @@ -155,7 +155,7 @@ GIT_EXTERN(int) git_packbuilder_write_buf(git_buf *buf, git_packbuilder *pb); * Write the new pack and corresponding index file to path. * * @param pb The packbuilder - * @param path to the directory where the packfile and index should be stored + * @param path Path to the directory where the packfile and index should be stored, or NULL for default location * @param mode permissions to use creating a packfile or 0 for defaults * @param progress_cb function to call with progress information from the indexer (optional) * @param progress_cb_payload payload for the progress callback (optional) |
