From: Junio C Hamano Date: Wed, 06 Nov 2019 01:55:34 GMT Subject: Re: [PATCH v3 1/4] doc: move author and committer information to git-commit(1) Message-ID: In-Reply-To: <20191104221822.GA22367@sigill.intra.peff.net> Jeff King writes: > I think we might want to keep documentation that gets too low-level out > of git-commit(1). > > So for instance, this part that got moved from commit-tree: > >> +A commit encapsulates: >> + >> +- all parent object ids >> +- author name, email and date >> +- committer name and email and the commit time. >> + > > I think could just stay there. Me too ;-) > ... I wonder if it would make sense to define them there in > git.txt, giving a more user-facing description. Something like: > > GIT_COMMITTER_NAME:: > The human-readable name used in the committer identity when > creating commit or tags objects, or when writing reflogs. > Overrides the user.name config. > > and so forth for COMMITTER_EMAIL, AUTHOR_NAME, etc. Yup, I like that. Then either commit-tree, commit etc. can refer to the environment variables section of linkgit:git[1], or perhaps assume that the readers know that anything common across all subcommands are there in linkgit:git[1] (I prefer the former). Thanks.