mirror of
https://github.com/git/git.git
synced 2024-11-17 14:34:49 +01:00
328b710d80
* master: (119 commits) diff family: add --check option Document that "git add" only adds non-ignored files. Add a conversion tool to migrate remote information into the config fetch, pull: ask config for remote information Fix build procedure for builtin-init-db read-tree -m -u: do not overwrite or remove untracked working tree files. apply --cached: do not check newly added file in the working tree Implement a --dry-run option to git-quiltimport Implement git-quiltimport Revert "builtin-grep: workaround for non GNU grep." builtin-grep: workaround for non GNU grep. builtin-grep: workaround for non GNU grep. git-am: use apply --cached apply --cached: apply a patch without using working tree. apply --numstat: show new name, not old name. Documentation/Makefile: create tarballs for the man pages and html files Allow pickaxe and diff-filter options to be used by git log. Libify the index refresh logic Builtin git-init-db Remove unnecessary local in get_ref_sha1. ...
36 lines
1.4 KiB
C
36 lines
1.4 KiB
C
#ifndef BUILTIN_H
|
|
#define BUILTIN_H
|
|
|
|
#ifndef PATH_MAX
|
|
# define PATH_MAX 4096
|
|
#endif
|
|
|
|
extern const char git_version_string[];
|
|
|
|
void cmd_usage(int show_all, const char *exec_path, const char *fmt, ...)
|
|
#ifdef __GNUC__
|
|
__attribute__((__format__(__printf__, 3, 4), __noreturn__))
|
|
#endif
|
|
;
|
|
|
|
extern int cmd_help(int argc, const char **argv, char **envp);
|
|
extern int cmd_version(int argc, const char **argv, char **envp);
|
|
|
|
extern int cmd_whatchanged(int argc, const char **argv, char **envp);
|
|
extern int cmd_show(int argc, const char **argv, char **envp);
|
|
extern int cmd_log(int argc, const char **argv, char **envp);
|
|
extern int cmd_diff(int argc, const char **argv, char **envp);
|
|
extern int cmd_format_patch(int argc, const char **argv, char **envp);
|
|
extern int cmd_count_objects(int argc, const char **argv, char **envp);
|
|
|
|
extern int cmd_push(int argc, const char **argv, char **envp);
|
|
extern int cmd_grep(int argc, const char **argv, char **envp);
|
|
extern int cmd_rm(int argc, const char **argv, char **envp);
|
|
extern int cmd_add(int argc, const char **argv, char **envp);
|
|
extern int cmd_rev_list(int argc, const char **argv, char **envp);
|
|
extern int cmd_check_ref_format(int argc, const char **argv, char **envp);
|
|
extern int cmd_init_db(int argc, const char **argv, char **envp);
|
|
extern int cmd_tar_tree(int argc, const char **argv, char **envp);
|
|
extern int cmd_upload_tar(int argc, const char **argv, char **envp);
|
|
|
|
#endif
|