1. 05 12月, 2013 1 次提交
    • J
      push: use remote.$name.push as a refmap · ca02465b
      Junio C Hamano 提交于
      Since f2690487 (fetch: opportunistically update tracking refs,
      2013-05-11), we stopped taking a non-storing refspec given on the
      command line of "git fetch" literally, and instead started mapping
      it via remote.$name.fetch refspecs.  This allows
      
          $ git fetch origin master
      
      from the 'origin' repository, which is configured with
      
          [remote "origin"]
              fetch = +refs/heads/*:refs/remotes/origin/*
      
      to update refs/remotes/origin/master with the result, as if the
      command line were
      
          $ git fetch origin +master:refs/remotes/origin/master
      
      to reduce surprises and improve usability.  Before that change, a
      refspec on the command line without a colon was only to fetch the
      history and leave the result in FETCH_HEAD, without updating the
      remote-tracking branches.
      
      When you are simulating a fetch from you by your mothership with a
      push by you into your mothership, instead of having:
      
          [remote "satellite"]
              fetch = +refs/heads/*:refs/remotes/satellite/*
      
      on the mothership repository and running:
      
          mothership$ git fetch satellite
      
      you would have:
      
          [remote "mothership"]
              push = +refs/heads/*:refs/remotes/satellite/*
      
      on your satellite machine, and run:
      
          satellite$ git push mothership
      
      Because we so far did not make the corresponding change to the push
      side, this command:
      
          satellite$ git push mothership master
      
      does _not_ allow you on the satellite to only push 'master' out but
      still to the usual destination (i.e. refs/remotes/satellite/master).
      
      Implement the logic to map an unqualified refspec given on the
      command line via the remote.$name.push refspec.  This will bring a
      bit more symmetry between "fetch" and "push".
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ca02465b
  2. 04 12月, 2013 11 次提交
  3. 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
  4. 28 11月, 2013 3 次提交
  5. 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
  6. 22 11月, 2013 1 次提交
  7. 21 11月, 2013 5 次提交
  8. 19 11月, 2013 10 次提交
  9. 14 11月, 2013 3 次提交
  10. 13 11月, 2013 2 次提交