diff options
| author | Christian Couder <christian.couder@gmail.com> | 2016-05-11 15:16:12 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-05-12 12:07:11 -0700 |
| commit | 12913a78cedc491f89a34ab0b545831d6006fc98 (patch) | |
| tree | 78be9743a83b20b137efafef37aa423b4141c65c /contrib/persistent-https/proxy.go | |
| parent | 5fe494c54ae44ae01a8efa91d00ac9d4c1c475e9 (diff) | |
| download | git-12913a78cedc491f89a34ab0b545831d6006fc98.tar.gz git-12913a78cedc491f89a34ab0b545831d6006fc98.zip | |
builtin/apply: make gitdiff_verify_name() return void
As the value returned by gitdiff_verify_name() is put into the
same variable that is passed as a parameter to this function,
it is simpler to pass the address of the variable and have
gitdiff_verify_name() change the variable itself.
This also makes it possible to later have this function return
-1 instead of die()ing in case of error.
Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/proxy.go')
0 files changed, 0 insertions, 0 deletions
