1. 23 8月, 2010 1 次提交
  2. 10 8月, 2010 1 次提交
  3. 16 7月, 2010 1 次提交
  4. 03 6月, 2009 2 次提交
    • J
      git-submodule: add support for --merge. · 42b49178
      Johan Herland 提交于
      'git submodule update --merge' merges the commit referenced by the
      superproject into your local branch, instead of checking it out on
      a detached HEAD.
      
      As evidenced by the addition of "git submodule update --rebase", it
      is useful to provide alternatives to the default 'checkout' behaviour
      of "git submodule update". One such alternative is, when updating a
      submodule to a new commit, to merge that commit into the current
      local branch in that submodule. This is useful in workflows where
      you want to update your submodule from its upstream, but you cannot
      use --rebase, because you have downstream people working on top of
      your submodule branch, and you don't want to disrupt their work.
      Signed-off-by: NJohan Herland <johan@herland.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      42b49178
    • J
      Rename submodule.<name>.rebase to submodule.<name>.update · 32948425
      Johan Herland 提交于
      The addition of "submodule.<name>.rebase" demonstrates the usefulness of
      alternatives to the default behaviour of "git submodule update". However,
      by naming the config variable "submodule.<name>.rebase", and making it a
      boolean choice, we are artificially constraining future git versions that
      may want to add _more_ alternatives than just "rebase".
      
      Therefore, while "submodule.<name>.rebase" is not yet in a stable git
      release, future-proof it, by changing it from
      
        submodule.<name>.rebase = true/false
      
      to
      
        submodule.<name>.update = rebase/checkout
      
      where "checkout" specifies the default behaviour of "git submodule update"
      (checking out the new commit to a detached HEAD), and "rebase" specifies
      the --rebase behaviour (where the current local branch in the submodule is
      rebase onto the new commit). Thus .update == checkout is equivalent to
      .rebase == false, and .update == rebase is equivalent to .rebase == true.
      Finally, leaving .update unset is equivalent to leaving .rebase unset.
      
      In future git versions, other alternatives to "git submodule update"
      behaviour can be included by adding them to the list of allowable values
      for the submodule.<name>.update variable.
      Signed-off-by: NJohan Herland <johan@herland.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      32948425
  5. 24 4月, 2009 1 次提交
  6. 01 9月, 2008 1 次提交
  7. 07 6月, 2008 1 次提交
  8. 07 1月, 2008 1 次提交
    • D
      Documentation: rename gitlink macro to linkgit · 5162e697
      Dan McGee 提交于
      Between AsciiDoc 8.2.2 and 8.2.3, the following change was made to the stock
      Asciidoc configuration:
      
      @@ -149,7 +153,10 @@
       # Inline macros.
       # Backslash prefix required for escape processing.
       # (?s) re flag for line spanning.
      -(?su)[\\]?(?P<name>\w(\w|-)*?):(?P<target>\S*?)(\[(?P<attrlist>.*?)\])=
      +
      +# Explicit so they can be nested.
      +(?su)[\\]?(?P<name>(http|https|ftp|file|mailto|callto|image|link)):(?P<target>\S*?)(\[(?P<attrlist>.*?)\])=
      +
       # Anchor: [[[id]]]. Bibliographic anchor.
       (?su)[\\]?\[\[\[(?P<attrlist>[\w][\w-]*?)\]\]\]=anchor3
       # Anchor: [[id,xreflabel]]
      
      This default regex now matches explicit values, and unfortunately in this
      case gitlink was being matched by just 'link', causing the wrong inline
      macro template to be applied. By renaming the macro, we can avoid being
      matched by the wrong regex.
      Signed-off-by: NDan McGee <dpmcgee@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5162e697
  9. 16 6月, 2007 1 次提交
  10. 12 6月, 2007 1 次提交