Re: [PATCH] help.c: Pull cmd_version out of this file.
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 30, 2010, 02:38 UTC
- Message-ID
- <20100830023812.GA4010@burratino>
- In-Reply-To
- <2ae543604216146b742253584d8393c5e3179697.1283114573.git.tfransosi@gmail.com>
Thiago Farina wrote:
> Promote cmd_version to a builtin, by moving it to its own file > in builtin/version.c
Could you explain further? If the goal is "one command per source file", then we already violate that in a number of places:
- "git blame" and "git pickaxe" are both cmd_blame() in builtin/blame.c.
- "git whatchanged", "git show", "git reflog", and "git log" are separate builtins in builtin/log.c.
- etc
What does this make easier?