git_signature_default

Create a new action signature with default user and now timestamp.

This looks up the user.name and user.email from the configuration and uses the current time as the timestamp, and creates a new signature based on that information. It will return git_error_code.GIT_ENOTFOUND if either the user.name or user.email are not set.

@param out_ new signature @param repo repository pointer @return 0 on success, git_error_code.GIT_ENOTFOUND if config is missing, or error code

extern (C) nothrow @nogc
int
git_signature_default

Meta