1. 01 6月, 2009 14 次提交
    • J
      Merge branch 'sb/opt-filename' · f9275c68
      Junio C Hamano 提交于
      * sb/opt-filename:
        parse-opts: add OPT_FILENAME and transition builtins
        parse-opts: prepare for OPT_FILENAME
      
      Conflicts:
      	builtin-log.c
      f9275c68
    • J
      Merge branch 'jc/solaris-0811' · 714cdcd0
      Junio C Hamano 提交于
      * jc/solaris-0811:
        OpenSolaris 200811 (SunOS 5.11) does not want OLD_ICONV
        Teach Solaris that _XOPEN_SOURCE=600 really menas XPG6
      714cdcd0
    • J
      Merge branch 'sb/show-branch-parse-options' · c6e73936
      Junio C Hamano 提交于
      * sb/show-branch-parse-options:
        show-branch: migrate to parse-options API
        parse-options: add PARSE_OPT_LITERAL_ARGHELP for complicated argh's
      
      Conflicts:
      	parse-options.h
      c6e73936
    • J
      Merge branch 'mm/apply-double-slash' · 919cc4d0
      Junio C Hamano 提交于
      * mm/apply-double-slash:
        apply: handle filenames with double slashes better
      919cc4d0
    • J
      Merge branch 'sb/format-patch-parseopt' · 1af4731b
      Junio C Hamano 提交于
      * sb/format-patch-parseopt:
        format-patch: migrate to parse-options API
      
      Conflicts:
      	builtin-log.c
      1af4731b
    • J
      Merge branch 'jc/mktree' · 128b0c08
      Junio C Hamano 提交于
      * jc/mktree:
        mktree: validate entry type in input
        mktree --batch: build more than one tree object
        mktree --missing: updated usage message and man page
        mktree --missing: allow missing objects
        t1010: add mktree test
        mktree: do not barf on a submodule commit
        builtin-mktree.c: use a helper function to handle one line of input
        mktree: use parse-options
        build-in git-mktree
      128b0c08
    • J
      Merge branch 'ew/svn-test-and-old-i18n' · 22cdab5b
      Junio C Hamano 提交于
      * ew/svn-test-and-old-i18n:
        t8005: fix typo, it's ISO-8859-5, not KOI8-R
        t8005: convert CP1251 character set to ISO8859-5
        t8005: use more portable character encoding names
        t5100: use ancient encoding syntax for backwards compatibility
        t9301: use ISO8859-1 rather than ISO-8859-1
        t3901: Use ISO8859-1 instead of ISO-8859-1 for backward compatibility
        t3901: avoid negation on right hand side of '|'
        builtin-mailinfo.c: use "ISO8859-1" instead of "latin1" as fallback encoding
        builtin-mailinfo.c: compare character encodings case insensitively
        Use 'UTF-8' rather than 'utf-8' everywhere for backward compatibility
        t3900: use ancient iconv names for backward compatibility
      22cdab5b
    • J
      Merge branch 'mw/send-email' · 06676213
      Junio C Hamano 提交于
      * mw/send-email:
        send-email: Remove superfluous `my $editor = ...'
        send-email: 'References:' should only reference what is sent
        send-email: Handle "GIT:" rather than "GIT: " during --compose
        Docs: send-email: --smtp-server-port can take symbolic ports
        Docs: send-email: Refer to CONFIGURATION section for sendemail.multiedit
        Docs: send-email: Put options back into alphabetical order
      06676213
    • J
      Merge branch 'cc/bisect' (early part) · 1136e2c6
      Junio C Hamano 提交于
      * 'cc/bisect' (early part):
        bisect: check ancestors without forking a "git rev-list" process
        commit: add function to unparse a commit and its parents
        bisect: rework some rev related functions to make them more reusable
      1136e2c6
    • J
      git-add: no need for -f when resolving a conflict in already tracked path · 6e4f981f
      Jeff King 提交于
      When a path F that matches ignore pattern has a conflict, "git add F"
      insisted the -f option be given, which did not make sense.  It would have
      required -f when the path was originally added, but when resolving a
      conflict, it already is tracked.
      
      So this should work (and does):
      
        $ echo file >.gitignore
        $ echo content >file
        $ git add -f file ;# need -f because we are adding new path
        $ echo more content >>file
        $ git add file ;# don't need -f; it is not actually an "other" file
      
      This is handled under the hood by the COLLECT_IGNORED option to
      read_directory. When that code finds an ignored file, it checks the
      index to make sure it is not actually a tracked file. However, the test
      it uses does not take into account unmerged entries, and considers them
      to still be ignored. "git ls-files" uses a more elaborate test and gets
      the right answer and the same test should be used here.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      6e4f981f
    • S
      config.txt: document add.ignore-errors · 13bd2134
      Stephen Boyd 提交于
      Use the description of "--ignore-errors" from git-add.txt as
      inspiration.
      Signed-off-by: NStephen Boyd <bebarino@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      13bd2134
    • S
      bash: remove always true if statement from __git_ps1() · ee6b7114
      SZEDER Gábor 提交于
      The recent commits 8763dbb1 (completion: fix PS1 display during a
      merge on detached HEAD, 2009-05-16), ff790b6a (completion: simplify
      "current branch" in __git_ps1(), 2009-05-10), and d7107ca6
      (completion: fix PS1 display during an AM on detached HEAD,
      2009-05-26) ensure that the branch name in __git_ps1() is always set
      to something sensible.  Therefore, the condition for checking the
      non-empty branch name is always fulfilled, and can be removed.
      Signed-off-by: NSZEDER Gábor <szeder@ira.uka.de>
      Acked-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ee6b7114
    • B
      git-apply(1): Clarify that one can select where to apply the patch · c4d53592
      Björn Steinbrink 提交于
      The patch can be applied to the work tree, the index or both, but the
      short description made it look like it's always applied to both.
      Signed-off-by: NBjörn Steinbrink <B.Steinbrink@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c4d53592
    • C
      http-push: reuse existing is_null_ref · 0bf8c1f9
      Clemens Buchacher 提交于
      Signed-off-by: NClemens Buchacher <drizzd@aon.at>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0bf8c1f9
  2. 31 5月, 2009 3 次提交
  3. 30 5月, 2009 3 次提交
  4. 29 5月, 2009 2 次提交
  5. 28 5月, 2009 3 次提交
  6. 27 5月, 2009 3 次提交
    • S
      t5500: Modernize test style · 3902985a
      Stephen Boyd 提交于
      Code outside of the test harness was emitting "Initializing..." from
      git-init. Fixup this test to be more modern:
      
          - test_expect_object_count() and count_objects() are unused
      
          - use grep directly instead of test "..." = $(grep ...)
      
          - end the test_expect_success line with a single-quote and put the
            test on a new line
      
          - put as much code inside the test harness as possible
      
          - no_strict_count_check is unused and duplicates the test
            "new object count"
      
          - use && whenever possible to catch errors early
      
          - use test_tick instead of GIT_AUTHOR_DATE=$sec
      
          - remove debugging aid log.txt
      
          - use subshells instead of cd-ing around
      
      Also merge the pull test into one large test.
      Signed-off-by: NStephen Boyd <bebarino@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3902985a
    • J
      completion: fix PS1 display during an AM on detached HEAD · d7107ca6
      Junio C Hamano 提交于
      This is a companion patch to previous 8763dbb1 (completion: fix PS1 display
      during a merge on detached HEAD, 2009-05-16).  While rebasing or running am
      on a detached HEAD, the code failed to set $b (branch description) that
      enables the whole status display business.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d7107ca6
    • B
      imap-send: add support for IPv6 · 94ad2437
      Benjamin Kramer 提交于
      Add IPv6 support by implementing name resolution with the
      protocol agnostic getaddrinfo(3) API. The old gethostbyname(3)
      code is still available when git is compiled with NO_IPV6.
      Signed-off-by: NBenjamin Kramer <benny.kra@googlemail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      94ad2437
  7. 26 5月, 2009 12 次提交