1. 25 2月, 2014 2 次提交
  2. 08 1月, 2014 1 次提交
    • F
      git-submodule.sh: 'checkout' is a valid update mode · efa8fd7e
      Francesco Pretto 提交于
      'checkout' is documented as one of the valid values for the
      'submodule.<name>.update' variable, and in a repository with the
      variable set to 'checkout', "git submodule update" command does
      update using the 'checkout' mode.
      
      However, it has been an accident that the implementation works this
      way; any unknown value would trigger the same codepath and update
      using the 'checkout' mode.
      
      Explicitly list 'checkout' as one of the known update modes, and
      error out when an unknown update mode is used.
      
      Teach the codepath that initializes the configuration variable from
      an in-tree .gitmodules that 'checkout' is one of the valid values.
      The code since ac1fbbda (submodule: do not copy unknown update mode
      from .gitmodules, 2013-12-02) used to treat the value 'checkout' as
      unknown and mapped it to 'none', which made little sense.  With this
      change, 'checkout' specified in .gitmodules will stay to be 'checkout'.
      Signed-off-by: NFrancesco Pretto <ceztko@gmail.com>
      Signed-off-by: NSigned-off-by: Junio C Hamano <gitster@pobox.com>
      efa8fd7e
  3. 31 12月, 2013 1 次提交
  4. 18 12月, 2013 15 次提交
  5. 04 12月, 2013 2 次提交
  6. 03 12月, 2013 3 次提交
    • J
      Sync with 1.8.4.5 · be38bee8
      Junio C Hamano 提交于
      be38bee8
    • J
      Git 1.8.4.5 · 2f93541d
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2f93541d
    • J
      submodule: do not copy unknown update mode from .gitmodules · ac1fbbda
      Junio C Hamano 提交于
      When submodule.$name.update is given as hint from the upstream in
      the .gitmodules file, we used to blindly copy it to .git/config,
      unless there already is a value defined for the submodule.
      
      However, there is no reason to expect that the update mode hinted by
      the upstream is available in the version of Git the user is using,
      and a really custom "!cmd" prepared by an upstream person running on
      Linux may not even be available to a user on Windows.  It is simply
      irresponsible to copy the setting blindly and to attempt to use it
      during a later "submodule update" without validating it first.
      
      Just show the suggested value to the diagnostic output, and set the
      value to 'none' in the configuration, if it is not one of the ones
      that are known to be supported by this version of Git.
      Helped-by: NJens Lehmann <Jens.Lehmann@web.de>
      Helped-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ac1fbbda
  7. 28 11月, 2013 5 次提交
  8. 26 11月, 2013 1 次提交
    • J
      Merge branch 'rh/remote-hg-bzr-updates' (early part) · c302941c
      Junio C Hamano 提交于
      Unbreaks a recent breakage due to use of unquote-c-style.
      
      This may need to be cherry-picked down to 1.8.4.x series.
      
      * 'rh/remote-hg-bzr-updates' (early part):
        remote-hg: don't decode UTF-8 paths into Unicode objects
      c302941c
  9. 22 11月, 2013 1 次提交
  10. 21 11月, 2013 6 次提交
  11. 19 11月, 2013 3 次提交