libgit2

git_hashsig_option_t

Version:

Options for hashsig computation

The options GIT_HASHSIG_NORMAL, GIT_HASHSIG_IGNORE_WHITESPACE, GIT_HASHSIG_SMART_WHITESPACE are exclusive and should not be combined.

Values

GIT_HASHSIG_NORMAL
0

Use all data

GIT_HASHSIG_IGNORE_WHITESPACE
(1 << 0)

Ignore whitespace

GIT_HASHSIG_SMART_WHITESPACE
(1 << 1)

Ignore \r and all space after \n

GIT_HASHSIG_ALLOW_SMALL_FILES
(1 << 2)

Allow hashing of small files

Parameter To

Versions