Jeff King <> writes:

> What was the original rationale for the "gitfoo" form? Was it just to
> visually distinguish command manpages from non-command manpages? I can't
> remember the origins now.

b27a23e (Documentation: convert tutorials to man pages, 2008-05-24)
turns "tutorial.txt" into "gittutorial.txt".  Before that, there
were git{attributes,cli,ignore,hooks,modules}.txt.  They were added
in this order, which reveals the true reason:

    hooks.txt => githooks.txt

Originally, we did not intend to name them as "git$concept.txt";
instead, we just said "$concept.txt".  Hooks are "hooks", and we
know we are discussing hooks in the context of Git, there was no
reason to say "githooks".  "gitignore" was about the file format,
and it would have been insane to call it "ignore.txt".  The same
applies to "gitmodules.txt".

Things start to go in a strange direction when "cli" was added.  We
know that is about the command line interface in the context of Git,
and it should have been "cli.txt".  To make things worse, later
"hooks.txt" took an example of "gitcli.txt" in the wrong way at
a5af0e2 (Documentation: rename "hooks.txt" to "githooks.txt" and
make it a man page, 2008-05-02).

In other way, I think this wasn't designed, but organically grown.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at

Reply via email to