commit | 036dbbfb2d9127dcef3d742b99ac8677006f6d33 | [log] [tgz] |
---|---|---|
author | Jeff King <peff@peff.net> | Mon May 07 15:18:26 2012 -0400 |
committer | Jeff King <peff@peff.net> | Tue May 08 04:51:07 2012 -0400 |
tree | acb70804a68ca37bfaf97dd41d4d372c624f8967 | |
parent | edf141218e4e4ecca3a8ab0c8fa9eafe381b3838 [diff] |
commit: refactor option parsing The options are declared as a static global, but really they need only be accessible from cmd_commit. Additionally, declare the "struct wt_status" in cmd_commit and cmd_status as static at the top of each function; this will let the options lists reference them directly, which will facilitate further cleanups. Signed-off-by: Jeff King <peff@peff.net>