run-command.h: move declarations for run-command.c from cache.h
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
b5ee0a2bf4
commit
ccdfc96750
3
cache.h
3
cache.h
@ -555,7 +555,4 @@ int checkout_fast_forward(struct repository *r,
|
|||||||
const struct object_id *to,
|
const struct object_id *to,
|
||||||
int overwrite_ignore);
|
int overwrite_ignore);
|
||||||
|
|
||||||
|
|
||||||
int sane_execvp(const char *file, char *const argv[]);
|
|
||||||
|
|
||||||
#endif /* CACHE_H */
|
#endif /* CACHE_H */
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
#include "cache.h"
|
#include "git-compat-util.h"
|
||||||
#include "abspath.h"
|
#include "abspath.h"
|
||||||
#include "environment.h"
|
#include "environment.h"
|
||||||
#include "exec-cmd.h"
|
#include "exec-cmd.h"
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
#include "quote.h"
|
#include "quote.h"
|
||||||
|
#include "run-command.h"
|
||||||
#include "strvec.h"
|
#include "strvec.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "trace2.h"
|
#include "trace2.h"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "cache.h"
|
#include "git-compat-util.h"
|
||||||
#include "run-command.h"
|
#include "run-command.h"
|
||||||
#include "environment.h"
|
#include "environment.h"
|
||||||
#include "exec-cmd.h"
|
#include "exec-cmd.h"
|
||||||
|
@ -564,4 +564,6 @@ enum start_bg_result start_bg_command(struct child_process *cmd,
|
|||||||
void *cb_data,
|
void *cb_data,
|
||||||
unsigned int timeout_sec);
|
unsigned int timeout_sec);
|
||||||
|
|
||||||
|
int sane_execvp(const char *file, char *const argv[]);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user