mirror of
https://github.com/git/git.git
synced 2024-11-16 14:04:52 +01:00
5c28a8b054
test-svn-fe segfaults when passed a bogus path. Simplify debugging by exiting with a meaningful error message instead. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
17 lines
314 B
C
17 lines
314 B
C
/*
|
|
* This file is in the public domain.
|
|
* You may freely use, modify, distribute, and relicense it.
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include "svndump.h"
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
if (svndump_init(NULL))
|
|
return 1;
|
|
svndump_read((argc > 1) ? argv[1] : NULL);
|
|
svndump_deinit();
|
|
svndump_reset();
|
|
return 0;
|
|
}
|