More sensible signature functions

Remove all of the older functions. Bind git_signature_default() and
implement the _now() equivalent in erlang.
This commit is contained in:
Carlos Martín Nieto
2013-10-15 22:22:49 +02:00
parent 72078cb099
commit 05e1781356
6 changed files with 81 additions and 22 deletions

View File

@@ -172,6 +172,10 @@ index_add(_Handle, _Entry) ->
index_clear(_Handle) ->
?NIF_FN.
-spec signature_default(term()) -> {ok, geef_sig:signature()} | {error, term()}.
signature_default(_Repo) ->
?NIF_FN.
signature_new(_Name, _Email) ->
?NIF_FN.