mirror of
https://github.com/git/git.git
synced 2024-11-13 20:53:02 +01:00
530f237500
A GSoC project. * fa/remote-svn: Add a test script for remote-svn remote-svn: add marks-file regeneration Add a svnrdump-simulator replaying a dump file for testing remote-svn: add incremental import remote-svn: Activate import/export-marks for fast-import Create a note for every imported commit containing svn metadata vcs-svn: add fast_export_note to create notes Allow reading svn dumps from files via file:// urls remote-svn, vcs-svn: Enable fetching to private refs When debug==1, start fast-import with "--stats" instead of "--quiet" Add documentation for the 'bidi-import' capability of remote-helpers Connect fast-import to the remote-helper via pipe, adding 'bidi-import' capability Add argv_array_detach and argv_array_free_detached Add svndump_init_fd to allow reading dumps from arbitrary FDs Add git-remote-testsvn to Makefile Implement a remote helper for svn in C
24 lines
674 B
C
24 lines
674 B
C
#ifndef ARGV_ARRAY_H
|
|
#define ARGV_ARRAY_H
|
|
|
|
extern const char *empty_argv[];
|
|
|
|
struct argv_array {
|
|
const char **argv;
|
|
int argc;
|
|
int alloc;
|
|
};
|
|
|
|
#define ARGV_ARRAY_INIT { empty_argv, 0, 0 }
|
|
|
|
void argv_array_init(struct argv_array *);
|
|
void argv_array_push(struct argv_array *, const char *);
|
|
__attribute__((format (printf,2,3)))
|
|
void argv_array_pushf(struct argv_array *, const char *fmt, ...);
|
|
void argv_array_pushl(struct argv_array *, ...);
|
|
void argv_array_pop(struct argv_array *);
|
|
void argv_array_clear(struct argv_array *);
|
|
const char **argv_array_detach(struct argv_array *array, int *argc);
|
|
void argv_array_free_detached(const char **argv);
|
|
|
|
#endif /* ARGV_ARRAY_H */
|