diff options
| author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-03-03 18:35:58 +0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-03-05 11:14:04 -0800 |
| commit | 2bee50a083fbf549c3f062a2f89c6e636f532762 (patch) | |
| tree | 8f01b86f0f99e19522ecce9201ed26d00bb8454d /object.c | |
| parent | sha1_file.c: move delayed getenv(altdb) back to setup_git_env() (diff) | |
| download | git-2bee50a083fbf549c3f062a2f89c6e636f532762.tar.gz git-2bee50a083fbf549c3f062a2f89c6e636f532762.zip | |
repository: delete ignore_env member
This variable was added because the repo_set_gitdir() was created to
cover both submodule and main repos, but these two are initialized a
bit differently so ignore_env == 0 means main repo, while ignore_env
!= 0 is submodules.
Since the difference part (env variables) has been moved out of
repo_set_gitdir(), this function works the same way for both repo
types and ignore_env is not needed anymore.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.c')
0 files changed, 0 insertions, 0 deletions
