summaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2011-03-03 19:34:51 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-03-03 15:45:10 -0800
commitb31d20227a4e3c71cf545d2142996e27cacadcec (patch)
tree876ce19ac188c7b2a57ee698b645f05fed754839 /strbuf.h
parentverify-pack: add --stat-only to the synopsis section (diff)
downloadtgif-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 'strbuf.h')
0 files changed, 0 insertions, 0 deletions