1. 08 4月, 2009 2 次提交
    • J
      for-each-ref: refactor refname handling · 8db9a4b8
      Jeff King 提交于
      This code handles some special magic like *-deref and the
      :short formatting specifier. The next patch will add another
      field which outputs a ref and wants to use the same code.
      
      This patch splits the "which ref are we outputting" from the
      actual formatting. There should be no behavioral change.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8db9a4b8
    • J
      for-each-ref: refactor get_short_ref function · 3d4ecc0e
      Jeff King 提交于
      This function took a "refinfo" object which is unnecessarily
      restrictive; it only ever looked at the refname field. This
      patch refactors it to take just the ref name as a string.
      
      While we're touching the relevant lines, let's give it
      consistent memory semantics. Previously, some code paths
      would return an allocated string and some would return the
      original string; now it will always return a malloc'd
      string.
      
      This doesn't actually fix a bug or a leak, because
      for-each-ref doesn't clean up its memory, but it makes the
      function a lot less surprising for reuse (which will
      happen in a later patch).
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3d4ecc0e
  2. 06 4月, 2009 10 次提交
  3. 05 4月, 2009 10 次提交
  4. 03 4月, 2009 11 次提交
  5. 02 4月, 2009 7 次提交
    • J
      Merge branch 'ef/fast-export' · dffc1316
      Junio C Hamano 提交于
      * ef/fast-export:
        builtin-fast-export.c: handle nested tags
        builtin-fast-export.c: fix crash on tagged trees
        builtin-fast-export.c: turn error into warning
        test-suite: adding a test for fast-export with tag variants
      dffc1316
    • J
      Merge branch 'mh/format-patch-add-header' · 37a13acb
      Junio C Hamano 提交于
      * mh/format-patch-add-header:
        format-patch: add arbitrary email headers
      37a13acb
    • J
      Merge branch 'tr/maint-1.6.1-doc-format-patch--root' · 85b7bd50
      Junio C Hamano 提交于
      * tr/maint-1.6.1-doc-format-patch--root:
        Documentation: format-patch --root clarifications
      85b7bd50
    • J
      Merge branch 'maint' · 02c62b10
      Junio C Hamano 提交于
      * maint:
        Documentation: Remove an odd "instead"
        fix portability problem with IS_RUN_COMMAND_ERR
        mailmap: resurrect lower-casing of email addresses
      02c62b10
    • J
      Merge branch 'maint-1.6.1' into maint · 76348178
      Junio C Hamano 提交于
      * maint-1.6.1:
        Documentation: Remove an odd "instead"
      76348178
    • J
      Merge branch 'maint-1.6.0' into maint-1.6.1 · f054a419
      Junio C Hamano 提交于
      * maint-1.6.0:
        Documentation: Remove an odd "instead"
      f054a419
    • J
      Merge branch 'cj/doc-format' · 477fde6f
      Junio C Hamano 提交于
      * cj/doc-format:
        Documentation: use "spurious .sp" XSLT if DOCBOOK_SUPPRESS_SP is set
        Documentation: option to render literal text as bold for manpages
        Documentation: asciidoc.conf: fix verse block with block titles
        Documentation: asciidoc.conf: always use <literallayout> for [blocktext]
        Documentation: move "spurious .sp" code into manpage-base.xsl
        Documentation: move quieting params into manpage-base.xsl
        Documentation: rename docbook-xsl-172 attribute to git-asciidoc-no-roff
        Documentation: use parametrized manpage-base.xsl with manpage-{1.72,normal}.xsl
        Documentation: move callouts.xsl to manpage-{base,normal}.xsl
        Documentation/Makefile: break up texi pipeline
        Documentation/Makefile: make most operations "quiet"
      477fde6f