repository.h: add comment and clarify repo_set_gitdir
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 23 Mar 2018 15:55:23 +0000 (16:55 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Mar 2018 18:04:52 +0000 (11:04 -0700)
The argument name "optional" may mislead the reader to think this
option could be NULL. But it can't be. While at there, document a bit
more about struct set_gitdir_args.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found