1. 01 6月, 2012 1 次提交
  2. 31 5月, 2012 1 次提交
  3. 30 5月, 2012 12 次提交
    • J
      Merge git://bogomips.org/git-svn · 0680f745
      Junio C Hamano 提交于
      By Jonathan Nieder
      via Eric Wong
      * git://bogomips.org/git-svn:
        git-svn: make Git::SVN::Fetcher a separate file
        git-svn: rename SVN::Git::* packages to Git::SVN::*
        git-svn: move Git::SVN::Prompt into its own file
      0680f745
    • J
      t5701: modernize style · f27e7654
      Jeff King 提交于
      This test is pretty old and did not follow some of our more
      modern best practices. In particular:
      
        1. It chdir'd all over the place, leaving later tests to
           deal with the fallout. Do our chdirs in subshells
           instead.
      
        2. It did not use test_must_fail.
      
        3. It did not use test_line_count.
      
        4. It checked for the non-existence of a ref by looking in the
           .git/refs directory (since we pack refs during clone
           these days, this will always be succeed, making the
           test useless).
      
           Note that one call to "-e .git/refs/..." remains,
           because it is checking for the existence of a symbolic
           ref, not a ref itself.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f27e7654
    • J
      Merge branch 'va/git-p4-test' · a8f49338
      Junio C Hamano 提交于
      By Vitor Antunes
      * va/git-p4-test:
        git-p4: Clean up branch test cases
        git-p4: Verify detection of "empty" branch creation
        git-p4: Test changelists touching two branches
      a8f49338
    • J
      Merge branch 'jk/ident-gecos-strbuf' · 261ec7d0
      Junio C Hamano 提交于
      Fixes quite a lot of brokenness when ident information needs to be taken
      from the system and cleans up the code.
      
      By Jeff King
      * jk/ident-gecos-strbuf: (22 commits)
        format-patch: do not use bogus email addresses in message ids
        ident: reject bogus email addresses with IDENT_STRICT
        ident: rename IDENT_ERROR_ON_NO_NAME to IDENT_STRICT
        format-patch: use GIT_COMMITTER_EMAIL in message ids
        ident: let callers omit name with fmt_indent
        ident: refactor NO_DATE flag in fmt_ident
        ident: reword empty ident error message
        format-patch: refactor get_patch_filename
        ident: trim whitespace from default name/email
        ident: use a dynamic strbuf in fmt_ident
        ident: use full dns names to generate email addresses
        ident: report passwd errors with a more friendly message
        drop length limitations on gecos-derived names and emails
        ident: don't write fallback username into git_default_name
        fmt_ident: drop IDENT_WARN_ON_NO_NAME code
        format-patch: use default email for generating message ids
        ident: trim trailing newline from /etc/mailname
        move git_default_* variables to ident.c
        move identity config parsing to ident.c
        fmt-merge-msg: don't use static buffer in record_person
        ...
      261ec7d0
    • J
      Merge branch 'jk/fetch-pack-remove-dups-optim' · 12d7d150
      Junio C Hamano 提交于
      The way "fetch-pack" that is given multiple references to fetch tried to
      remove duplicates was very inefficient.
      
      By Jeff King
      * jk/fetch-pack-remove-dups-optim:
        fetch-pack: sort incoming heads list earlier
        fetch-pack: avoid quadratic loop in filter_refs
        fetch-pack: sort the list of incoming refs
        add sorting infrastructure for list refs
        fetch-pack: avoid quadratic behavior in remove_duplicates
        fetch-pack: sort incoming heads
      12d7d150
    • J
      Merge branch 'rs/refs-string-slice' · a7060009
      Junio C Hamano 提交于
      Avoid unnecessary temporary allocations while looking for matching refs
      inside refs API.
      
      By René Scharfe (3) and Junio C Hamano (1)
      * rs/refs-string-slice:
        refs: do not create ref_entry when searching
        refs: use strings directly in find_containing_dir()
        refs: convert parameter of create_dir_entry() to length-limited string
        refs: convert parameter of search_ref_dir() to length-limited string
      a7060009
    • J
      Merge branch 'mh/fetch-pack-constness' · 4dbfaee0
      Junio C Hamano 提交于
      Tighten constness of some local variables in a callchain.
      
      By Michael Haggerty
      * mh/fetch-pack-constness:
        cmd_fetch_pack(): respect constness of argv parameter
        cmd_fetch_pack(): combine the loop termination conditions
        cmd_fetch_pack(): handle non-option arguments outside of the loop
        cmd_fetch_pack(): declare dest to be const
      4dbfaee0
    • J
      Merge branch 'mh/ref-api-lazy-loose' · 38f2b874
      Junio C Hamano 提交于
      The code to lazily read loose refs unnecessarily read the refs in a
      subhierarchy by mistake when we free the data for the subhierarchy.
      
      By Michael Haggerty
      * mh/ref-api-lazy-loose:
        free_ref_entry(): do not trigger reading of loose refs
      38f2b874
    • J
      Merge branch 'ng/pack-objects-cleanup' · 32bd3a51
      Junio C Hamano 提交于
      By Nguyễn Thái Ngọc Duy
      * ng/pack-objects-cleanup:
        pack-objects: refactor write_object() into helper functions
        pack-objects, streaming: turn "xx >= big_file_threshold" to ".. > .."
      32bd3a51
    • V
      git-p4: Clean up branch test cases · 5d5c556a
      Vitor Antunes 提交于
      Correct submit description in one test and remove not required commands
      from another.
      Signed-off-by: NVitor Antunes <vitor.hda@gmail.com>
      Acked-by: NPete Wyckoff <pw@padd.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5d5c556a
    • V
      git-p4: Verify detection of "empty" branch creation · ad71f661
      Vitor Antunes 提交于
      Current implementation of new branch parent detection works on the
      principle that the new branch is a complete integration, with no
      changes, of the original files.
      This test shows this deficiency in the particular case when the new
      branch is created from a subset of the original files.
      Signed-off-by: NVitor Antunes <vitor.hda@gmail.com>
      Acked-by: NPete Wyckoff <pw@padd.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ad71f661
    • V
      git-p4: Test changelists touching two branches · 9e826dfd
      Vitor Antunes 提交于
      It is possible to modify two different branches in P4 in a single
      changelist. git-p4 correctly detects this and commits the relevant
      changes to the different branches separately. This test proves that and
      avoid future regressions in this behavior.
      Signed-off-by: NVitor Antunes <vitor.hda@gmail.com>
      Acked-by: NPete Wyckoff <pw@padd.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9e826dfd
  4. 29 5月, 2012 3 次提交
  5. 26 5月, 2012 18 次提交
  6. 25 5月, 2012 5 次提交