1. 04 6月, 2012 2 次提交
  2. 02 6月, 2012 16 次提交
  3. 01 6月, 2012 4 次提交
  4. 31 5月, 2012 5 次提交
  5. 30 5月, 2012 13 次提交
    • M
      l10n: New it.po file with 504 translations · 9d1c2255
      Marco Paolone 提交于
      Signed-off-by: NMarco Paolone <marcopaolone@gmail.com>
      9d1c2255
    • J
      cherry-pick: regression fix for empty commits · ac2b0e8f
      Junio C Hamano 提交于
      The earlier "--keep-redundant-commit" series broke "cherry-pick"
      that is given a commit whose change is already in the current
      history. Such a cherry-pick would result in an empty change, and
      should stop with an error, telling the user that conflict resolution
      may have made the result empty (which is exactly what is happening),
      but we silently dropped the change on the floor without any message
      nor non-zero exit code.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ac2b0e8f
    • J
      submodules: print "registered for path" message only once · c1c259e2
      Jens Lehmann 提交于
      Since 2cd9de3e (submodule add: always initialize .git/config entry) the
      message "Submodule '\$name' (\$url) registered for path '\$sm_path'" is
      printed every time cmd_init() is called, e.g. each time "git submodule
      update" is used with the --init option.
      
      This was not intended and leads to bogus output which can confuse users
      and build systems. Apart from that the $url variable was not set after the
      first run which did the actual initialization and only "()" was printed
      in subsequent runs where "($url)" was meant to inform the user about the
      upstream repo.
      
      Fix that by moving the say command in question into the if block where the
      url is initialized, restoring the behavior that was in place before the
      2cd9de3e commit. While at it also remove the comment which still describes
      the logic used before 2cd9de3e and add a comment about how things work now.
      Reported-by: NNicolas Viennot and Sid Nair <nicolas@viennot.com>
      Reported-by: NHeiko Voigt <hvoigt@hvoigt.net>
      Signed-off-by: NJens Lehmann <Jens.Lehmann@web.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c1c259e2
    • 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
      Do not autosquash in case of an implied interactive rebase · 8a6dae10
      Vincent van Ravesteijn 提交于
      The option to autosquash is only used in case of an interactive rebase.
      When merges are preserved, rebase uses an interactive rebase internally,
      but in this case autosquash should still be disabled.
      Signed-off-by: NVincent van Ravesteijn <vfr@lyx.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8a6dae10