mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 20:33:41 +00:00
Make clear that git_odb_hashfile does not use filters
Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
parent
0cb24616ee
commit
f55af775ab
@ -279,8 +279,10 @@ GIT_EXTERN(int) git_odb_hash(git_oid *id, const void *data, size_t len, git_otyp
|
|||||||
/**
|
/**
|
||||||
* Read a file from disk and fill a git_oid with the object id
|
* Read a file from disk and fill a git_oid with the object id
|
||||||
* that the file would have if it were written to the Object
|
* that the file would have if it were written to the Object
|
||||||
* Database as an object of the given type. Similar functionality
|
* Database as an object of the given type (w/o applying filters).
|
||||||
* to git.git's `git hash-object` without the `-w` flag.
|
* Similar functionality to git.git's `git hash-object` without
|
||||||
|
* the `-w` flag, however, with the --no-filters flag.
|
||||||
|
* If you need filters, see git_repository_hashfile.
|
||||||
*
|
*
|
||||||
* @param out oid structure the result is written into.
|
* @param out oid structure the result is written into.
|
||||||
* @param path file to read and determine object id for
|
* @param path file to read and determine object id for
|
||||||
|
Loading…
Reference in New Issue
Block a user