]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Sync with 2.17.2
authorJunio C Hamano <gitster@pobox.com>
Thu, 27 Sep 2018 18:45:01 +0000 (11:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Sep 2018 18:45:01 +0000 (11:45 -0700)
* maint-2.17:
  Git 2.17.2
  fsck: detect submodule paths starting with dash
  fsck: detect submodule urls starting with dash
  Git 2.16.5
  Git 2.15.3
  Git 2.14.5
  submodule-config: ban submodule paths that start with a dash
  submodule-config: ban submodule urls that start with dash
  submodule--helper: use "--" to signal end of clone options

1  2 
builtin/submodule--helper.c
fsck.c
submodule-config.c

Simple merge
diff --cc fsck.c
Simple merge
index 388ef1f892bdd63a485d9c93810a945fc3eab46f,3c40f1f1c5c96e00534ccc4e917a381b933006e8..6b212bae31c31edb651a381cfb473d3de7ae7ca6
@@@ -383,10 -383,16 +383,16 @@@ static void warn_multiple_config(const 
                        commit_string, name, option);
  }
  
+ static void warn_command_line_option(const char *var, const char *value)
+ {
+       warning(_("ignoring '%s' which may be interpreted as"
+                 " a command-line option: %s"), var, value);
+ }
  struct parse_config_parameter {
        struct submodule_cache *cache;
 -      const unsigned char *treeish_name;
 -      const unsigned char *gitmodules_sha1;
 +      const struct object_id *treeish_name;
 +      const struct object_id *gitmodules_oid;
        int overwrite;
  };