1. 13 9月, 2011 1 次提交
  2. 12 9月, 2011 2 次提交
  3. 07 9月, 2011 2 次提交
  4. 31 8月, 2011 1 次提交
  5. 25 8月, 2011 1 次提交
  6. 24 8月, 2011 1 次提交
  7. 23 8月, 2011 1 次提交
  8. 17 8月, 2011 1 次提交
  9. 09 8月, 2011 2 次提交
  10. 04 8月, 2011 3 次提交
  11. 01 8月, 2011 2 次提交
  12. 23 7月, 2011 2 次提交
    • D
      doc/fast-import: clarify notemodify command · b421812b
      Dmitry Ivankov 提交于
      The "notemodify" fast-import command was introduced in commit a8dd2e7d
      (fast-import: Add support for importing commit notes, 2009-10-09)
      The commit log has slightly different description than the added
      documentation. The latter is somewhat confusing. "notemodify" is a
      subcommand of "commit" command used to add a note for some commit.
      Does this note annotate the commit produced by the "commit" command
      or a commit given by it's committish parameter? Which notes tree
      does it write notes to?
      
      The exact meaning could be deduced with old description and some
      notes machinery knowledge. But let's make it more obvious. This
      command is used in a context like "commit refs/notes/test" to
      add or rewrite an annotation for a committish parameter. So the
      advised way to add notes in a fast-import stream is:
      1) import some commits (optional)
      2) prepare a "commit" to the notes tree:
      2.1) choose notes ref, committer, log message, etc.
      2.2) create annotations with "notemodify", where each can refer to
      a commit being annotated via a branch name, import mark reference,
      sha1 and other expressions specified in the Documentation.
      Signed-off-by: NDmitry Ivankov <divanorama@gmail.com>
      Acked-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b421812b
    • J
      df6b0cad
  13. 22 7月, 2011 1 次提交
  14. 14 7月, 2011 1 次提交
    • M
      rebase: clarify "restore the original branch" · 5960bc9d
      Martin von Zweigbergk 提交于
      The description for 'git rebase --abort' currently says:
      
          Restore the original branch and abort the rebase operation.
      
      The "restore" can be misinterpreted to imply that the original branch
      was somehow in a broken state during the rebase operation. It is also
      not completely clear what "the original branch" is --- is it the
      branch that was checked out before the rebase operation was called or
      is the the branch that is being rebased (it is the latter)? Although
      both issues are made clear in the DESCRIPTION section, let us also
      make the entry in the OPTIONS secion more clear.
      
      Also remove the term "rebasing process" from the usage text, since the
      user already knows that the text is about "git rebase".
      Signed-off-by: NMartin von Zweigbergk <martin.von.zweigbergk@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5960bc9d
  15. 13 7月, 2011 1 次提交
  16. 07 7月, 2011 2 次提交
    • M
      Documentation: use [verse] for SYNOPSIS sections · 7791a1d9
      Martin von Zweigbergk 提交于
      The SYNOPSIS sections of most commands that span several lines already
      use [verse] to retain line breaks. Most commands that don't span
      several lines seem not to use [verse]. In the HTML output, [verse]
      does not only preserve line breaks, but also makes the section
      indented, which causes a slight inconsistency between commands that
      use [verse] and those that don't. Use [verse] in all SYNOPSIS sections
      for consistency.
      
      Also remove the blank lines from git-fetch.txt and git-rebase.txt to
      align with the other man pages. In the case of git-rebase.txt, which
      already uses [verse], the blank line makes the [verse] not apply to
      the last line, so removing the blank line also makes the formatting
      within the document more consistent.
      
      While at it, add single quotes to 'git cvsimport' for consistency with
      other commands.
      Signed-off-by: NMartin von Zweigbergk <martin.von.zweigbergk@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7791a1d9
    • J
      docs: document --textconv diff option · d28790dc
      Jeff King 提交于
      This has been there since textconv existed, but was never
      documented. There is some overlap with what's in
      gitattributes(5), but it's important to warn in both places
      that textconv diffs probably can't be applied.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d28790dc
  17. 30 6月, 2011 2 次提交
    • J
      Documentation/i18n: quote double-dash for AsciiDoc · 27269fc5
      Jonathan Nieder 提交于
      As explained in v1.7.3-rc0~13^2 (Work around em-dash handling in newer
      AsciiDoc, 2010-08-23), if double dashes in names of commands are not
      escaped, AsciiDoc renders them as em dashes.
      
      While fixing that, spell the command name as "git sh-i18n--envsubst"
      (2 words) instead of emphasizing the name of the binary (one
      hyphenated name) and format it in italics.
      
      The double-dash in the title should be escaped, too, to avoid spurious
      em dashes in the header:
      
        .TH "GIT\-SH\-I18N\(emENVSUB" "1" "06/26/2011" "Git 1\&.7\&.6" "Git Manual"
      
      AsciiDoc 8.6.4 with DocBook XSL 1.76.0-RC1 copes fine and writes
      "GIT\-SH\-I18N\-\-ENVSUB" even without this change, which is why it
      was missed before.
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Acked-by: NÆvar Arnfjörð Bjarmason <avarab@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      27269fc5
    • J
      Documentation: quote double-dash for AsciiDoc · 565e135a
      Jonathan Nieder 提交于
      AsciiDoc versions since 5.0.6 treat a double-dash surrounded by spaces
      (outside of verbatim environments) as a request to insert an em dash.
      Such versions also treat the three-character sequence "\--", when not
      followed by another dash, as a request to insert two literal minus
      signs.  Thus from time to time there have been patches to add
      backslashes to AsciiDoc markup to escape double-dashes that are meant
      to be represent '--' characters used literally on the command line;
      see v1.4.0-rc1~174, Fix up docs where "--" isn't displayed correctly,
      2006-05-05, for example.
      
      AsciiDoc 6.0.3 (2005-04-20) made life harder by also treating
      double-dashes without surrounding whitespace as markup for an em dash,
      though only when formatting for backends other than the manpages
      (e.g., HTML).  Many pages needed to be changed to use a backslash
      before the "--" in names of command-line flags like "--add" (see
      v0.99.6~37, Update tutorial, 2005-08-30).
      
      AsciiDoc 8.3.0 (2008-11-29) refined the em-dash rule to avoid that
      requirement.  Double-dashes without surrounding spaces are not
      rendered as em dashes any more unless bordered on both sides by
      alphanumeric characters.  The unescaped markup for option names (e.g.,
      "--add") works fine, and many instances of this style have leaked into
      Documentation/; git's HTML documentation contains many spurious em
      dashes when formatted by an older toolchain.  (This patch will not
      change that.)
      
      The upshot: "--" as an isolated word and in phrases like "git
      web--browse" must be escaped if it is not to be rendered as an em dash
      by current asciidoc.  Use "\--" to avoid such misformatting in
      sentences in which "--" represents a literal double-minus command line
      argument that separates options and revs from pathspecs, and use
      "{litdd}" in cases where the double-dash is embedded in the command
      name.  The latter is just for consistency with v1.7.3-rc0~13^2 (Work
      around em-dash handling in newer AsciiDoc, 2010-08-23).
      
      List of lines to fix found by grepping manpages for "(em".
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Improved-by: NJunio C Hamano <gitster@pobox.com>
      Improved-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      565e135a
  18. 27 6月, 2011 2 次提交
    • J
      submodule sync: do not auto-vivify uninteresting submodule · ccee6086
      Junio C Hamano 提交于
      Earlier 33f072f8 (submodule sync: Update "submodule.<name>.url" for empty
      directories, 2010-10-08) attempted to fix a bug where "git submodule sync"
      command does not update the URL if the current superproject does not have
      a checkout of the submodule.
      
      However, it did so by unconditionally registering submodule.$name.url to
      every submodule in the project, even the ones that the user has never
      showed interest in at all by running 'git submodule init' command. This
      caused subsequent 'git submodule update' to start cloning/updating submodules
      that are not interesting to the user at all.
      
      Update the code so that the URL is updated from the .gitmodules file only
      for submodules that already have submodule.$name.url entries, i.e. the
      ones the user has showed interested in having a checkout.
      Acked-by: NJens Lehmann <Jens.Lehmann@web.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ccee6086
    • J
      Git 1.7.6 · f696543d
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f696543d
  19. 24 6月, 2011 6 次提交
  20. 23 6月, 2011 2 次提交
  21. 21 6月, 2011 1 次提交
    • J
      tag: accept multiple patterns for --list · 588d0e83
      Jeff King 提交于
      Until now, "git tag -l foo* bar*" would silently ignore the
      second argument, showing only refs starting with "foo". It's
      not just unfriendly not to take a second pattern; we
      actually generated subtly wrong results (from the user's
      perspective) because some of the requested tags were
      omitted.
      
      This patch allows an arbitrary number of patterns on the
      command line; if any of them matches, the ref is shown.
      
      While we're tweaking the documentation, let's also make it
      clear that the pattern is fnmatch.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      588d0e83
  22. 17 6月, 2011 1 次提交
  23. 09 6月, 2011 2 次提交