diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2011-03-03 19:34:51 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-03 15:45:10 -0800 |
commit | b31d20227a4e3c71cf545d2142996e27cacadcec (patch) | |
tree | 876ce19ac188c7b2a57ee698b645f05fed754839 /fsck.h | |
parent | verify-pack: add --stat-only to the synopsis section (diff) | |
download | tgif-b31d20227a4e3c71cf545d2142996e27cacadcec.tar.xz |
init: remove unnecessary check
git_dir must always be non-NULL so "if (git_dir)" is unnecessary.
Before this code, if git_dir == NULL, it will default to
DEFAULT_GIT_DIR_ENVIRONMENT.
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 'fsck.h')
0 files changed, 0 insertions, 0 deletions