OSDN Git Service

Update jk/maint-strbuf-missing-init to builtin/ rename
authorJunio C Hamano <gitster@pobox.com>
Sun, 18 Dec 2011 08:27:59 +0000 (00:27 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 18 Dec 2011 08:28:16 +0000 (00:28 -0800)
1  2 
builtin/commit.c
builtin/merge.c

@@@ -67,10 -81,17 +81,17 @@@ static enum 
  } cleanup_mode;
  static char *cleanup_arg;
  
- static int use_editor = 1, initial_commit, in_merge;
+ static int use_editor = 1, initial_commit, in_merge, include_status = 1;
  static const char *only_include_assumed;
 -static struct strbuf message;
 +static struct strbuf message = STRBUF_INIT;
  
+ static int null_termination;
+ static enum {
+       STATUS_FORMAT_LONG,
+       STATUS_FORMAT_SHORT,
+       STATUS_FORMAT_PORCELAIN,
+ } status_format = STATUS_FORMAT_LONG;
  static int opt_parse_m(const struct option *opt, const char *arg, int unset)
  {
        struct strbuf *buf = opt->value;
diff --cc builtin/merge.c
@@@ -41,8 -44,9 +44,9 @@@ static const char * const builtin_merge
  
  static int show_diffstat = 1, option_log, squash;
  static int option_commit = 1, allow_fast_forward = 1;
+ static int fast_forward_only;
  static int allow_trivial = 1, have_message;
 -static struct strbuf merge_msg;
 +static struct strbuf merge_msg = STRBUF_INIT;
  static struct commit_list *remoteheads;
  static unsigned char head[20], stash[20];
  static struct strategy **use_strategies;