aboutsummaryrefslogtreecommitdiff
path: root/wt-status.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-05-07 15:18:26 -0400
committerJeff King <peff@peff.net>2012-05-08 04:51:07 -0400
commit036dbbfb2d9127dcef3d742b99ac8677006f6d33 (patch)
treeacb70804a68ca37bfaf97dd41d4d372c624f8967 /wt-status.c
parentedf141218e4e4ecca3a8ab0c8fa9eafe381b3838 (diff)
downloadgit-036dbbfb2d9127dcef3d742b99ac8677006f6d33.tar.gz
git-036dbbfb2d9127dcef3d742b99ac8677006f6d33.tar.xz
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>
Diffstat (limited to 'wt-status.c')
0 files changed, 0 insertions, 0 deletions