From: Matthieu Moy Date: Thu, 12 Sep 2013 10:50:04 +0000 (+0200) Subject: commit: factor status configuration is a helper function X-Git-Tag: v1.8.5-rc0~93^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5c25dfaa794c7bbfa1b4d234b10f94ee371b1db0?ds=inline;hp=5c25dfaa794c7bbfa1b4d234b10f94ee371b1db0 commit: factor status configuration is a helper function cmd_commit and cmd_status use very similar code to initialize the wt_status structure. Factor this code into a function to ensure future changes will keep both versions consistent. Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano ---