diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-04-10 16:28:20 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-10 16:28:20 +0900 |
commit | 0873c393c750d32a111ee66ab4ca4d7d21bee0ba (patch) | |
tree | a84c74dc4b8084446000913ffe254b33e92dc155 /cache.h | |
parent | Merge branch 'ps/contains-id-error-message' (diff) | |
parent | repository.h: add comment and clarify repo_set_gitdir (diff) | |
download | tgif-0873c393c750d32a111ee66ab4ca4d7d21bee0ba.tar.xz |
Merge branch 'nd/remove-ignore-env-field'
Code clean-up for the "repository" abstraction.
* nd/remove-ignore-env-field:
repository.h: add comment and clarify repo_set_gitdir
repository: delete ignore_env member
sha1_file.c: move delayed getenv(altdb) back to setup_git_env()
repository.c: delete dead functions
repository.c: move env-related setup code back to environment.c
repository: initialize the_repository in main()
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -459,7 +459,7 @@ static inline enum object_type object_type(unsigned int mode) */ extern const char * const local_repo_env[]; -extern void setup_git_env(void); +extern void setup_git_env(const char *git_dir); /* * Returns true iff we have a configured git repository (either via |