1. 04 5月, 2012 3 次提交
  2. 02 5月, 2012 8 次提交
    • J
      Git 1.7.10.1 · bf505158
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      bf505158
    • J
      Merge branch 'pw/fast-import-dataref-parsing' into maint · b9f0662b
      Junio C Hamano 提交于
      The parser in "fast-import" did not diagnose ":9" style references that is
      not followed by required SP/LF as an error.
      
      By Pete Wyckoff
      * pw/fast-import-dataref-parsing:
        fast-import: tighten parsing of datarefs
      b9f0662b
    • J
      Merge branch 'it/fetch-pack-many-refs' into maint · cda03b6a
      Junio C Hamano 提交于
      When "git fetch" encounters repositories with too many references, the
      command line of "fetch-pack" that is run by a helper e.g. remote-curl, may
      fail to hold all of them. Now such an internal invocation can feed the
      references through the standard input of "fetch-pack".
      
      By Ivan Todoroski
      * it/fetch-pack-many-refs:
        remote-curl: main test case for the OS command line overflow
        fetch-pack: test cases for the new --stdin option
        remote-curl: send the refs to fetch-pack on stdin
        fetch-pack: new --stdin option to read refs from stdin
      
      Conflicts:
      	t/t5500-fetch-pack.sh
      cda03b6a
    • J
      Merge branch 'jl/maint-submodule-recurse-fetch' into maint · 17f695b4
      Junio C Hamano 提交于
      "git fetch" that recurses into submodules on demand did not check if it
      needs to go into submodules when non branches (most notably, tags) are
      fetched.
      
      By Jens Lehmann
      * jl/maint-submodule-recurse-fetch:
        submodules: recursive fetch also checks new tags for submodule commits
      17f695b4
    • J
      Merge branch 'jc/maint-blame-minimal' into maint · 089c0ca8
      Junio C Hamano 提交于
      "git blame" started missing quite a few changes from the origin since we
      stopped using the diff minimalization by default in v1.7.2 era.
      
      Teach "--minimal" option to "git blame" to work around this regression.
      
      * jc/maint-blame-minimal:
        blame: accept --need-minimal
      089c0ca8
    • J
      Merge branch 'lp/maint-diff-three-dash-with-graph' into maint · 35977f23
      Junio C Hamano 提交于
      "log -p --graph" used with "--stat" had a few formatting error.
      
      By Lucian Poston
      * lp/maint-diff-three-dash-with-graph:
        t4202: add test for "log --graph --stat -p" separator lines
        log --graph: fix break in graph lines
        log --graph --stat: three-dash separator should come after graph lines
      35977f23
    • J
      Merge branch 'jk/rebase-i-submodule-conflict-only' into maint · a4da3388
      Junio C Hamano 提交于
      Giving "--continue" to a conflicted "rebase -i" session skipped a
      commit that only results in changes to submodules.
      
      By John Keeping
      * jk/rebase-i-submodule-conflict-only:
        rebase -i continue: don't skip commits that only change submodules
      a4da3388
    • J
      Merge branch 'maint' of https://github.com/git-l10n/git-po · 520d2ce7
      Junio C Hamano 提交于
      By Byrial Jensen (2) and others
      via Jiang Xin (1) and Ralf Thielow (1)
      * 'maint' of https://github.com/git-l10n/git-po:
        l10n: Initial German translation
        l10n: Update Simplified Chinese translation
        l10n: Update git.pot (2 new messages)
        l10n: Add the German translation team and initialize de.po
        l10n: Add Danish team (da) to list of teams
        l10n: New da.po file with 0 translations
        l10n: Updated pt_PT language
      520d2ce7
  3. 01 5月, 2012 1 次提交
  4. 28 4月, 2012 4 次提交
  5. 27 4月, 2012 18 次提交
    • J
      Start preparing for 1.7.10.1 · 868d6623
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      868d6623
    • J
      Merge branch 'jk/run-command-eacces' into maint · 8c1ba213
      Junio C Hamano 提交于
      When PATH contains an unreadable directory, alias expansion code did
      not kick in, and failed with an error that said "git-subcmd" was not
      found.
      
      By Jeff King (1) and Ramsay Jones (1)
      * jk/run-command-eacces:
        run-command: treat inaccessible directories as ENOENT
        compat/mingw.[ch]: Change return type of exec functions to int
      8c1ba213
    • J
      Merge branch 'jc/push-upstream-sanity' into maint · 731673b1
      Junio C Hamano 提交于
      The 'push to upstream' implementation was broken in some corner
      cases. "git push $there" without refspec, when the current branch is
      set to push to a remote different from $there, used to push to $there
      using the upstream information to a remote unreleated to $there.
      
      * jc/push-upstream-sanity:
        push: error out when the "upstream" semantics does not make sense
      731673b1
    • J
      Merge branch 'jc/maint-clean-nested-worktree-in-subdir' into maint · 5d65c2ee
      Junio C Hamano 提交于
      "git clean -d -f" (not "-d -f -f") is supposed to protect nested
      working trees of independent git repositories that exist in the
      current project working tree from getting removed, but the protection
      applied only to such working trees that are at the top-level of the
      current project by mistake.
      
      * jc/maint-clean-nested-worktree-in-subdir:
        clean: preserve nested git worktree in subdirectories
      5d65c2ee
    • J
      Merge branch 'jk/diff-no-rename-empty' into maint · 3f231e23
      Junio C Hamano 提交于
      Rename detection logic used to match two empty files as renames during
      merge-recursive, leading unnatural mismerges.
      
      By Jeff King
      * jk/diff-no-rename-empty:
        merge-recursive: don't detect renames of empty files
        teach diffcore-rename to optionally ignore empty content
        make is_empty_blob_sha1 available everywhere
        drop casts from users EMPTY_TREE_SHA1_BIN
      3f231e23
    • J
      Merge branch 'rs/combine-diff-zero-context-at-the-beginning' into maint · 10a20b43
      Junio C Hamano 提交于
      An age-old corner case bug in combine diff (only triggered with -U0
      and the hunk at the beginning of the file needs to be shown) has been
      fixed.
      
      By René Scharfe
      * rs/combine-diff-zero-context-at-the-beginning:
        combine-diff: fix loop index underflow
      10a20b43
    • J
      Merge branch 'jc/commit-unedited-template' into maint · b4bd6bb3
      Junio C Hamano 提交于
      When "git commit --template F" errors out because the user did not
      touch the message, it claimed that it aborts due to "empty message",
      which was utterly wrong.
      
      By Junio C Hamano (4) and Adam Monsen (1)
      * jc/commit-unedited-template:
        Documentation/git-commit: rephrase the "initial-ness" of templates
        git-commit.txt: clarify -t requires editing message
        commit: rephrase the error when user did not touch templated log message
        commit: do not trigger bogus "has templated message edited" check
        t7501: test the right kind of breakage
      b4bd6bb3
    • J
      Merge branch 'jk/add-p-skip-conflicts' into maint · 4579a054
      Junio C Hamano 提交于
      "git add -p" is not designed to deal with unmerged paths but did
      not exclude them and tried to apply funny patches only to fail.
      
      By Jeff King
      * jk/add-p-skip-conflicts:
        add--interactive: ignore unmerged entries in patch mode
      4579a054
    • J
      Merge branch 'jc/commit-hook-authorship' into maint · 695db86a
      Junio C Hamano 提交于
      "git commit --author=$name" did not tell the name that was being
      recorded in the resulting commit to hooks, even though it does do so
      when the end user overrode the authorship via the "GIT_AUTHOR_NAME"
      environment variable.
      
      * jc/commit-hook-authorship:
        commit: pass author/committer info to hooks
        t7503: does pre-commit-hook learn authorship?
        ident.c: add split_ident_line() to parse formatted ident line
      695db86a
    • J
      Merge branch 'tr/maint-word-diff-regex-sticky' into maint · 7b90ed59
      Junio C Hamano 提交于
      The regexp configured with diff.wordregex was incorrectly reused
      across files.
      
      By Thomas Rast (2) and Johannes Sixt (1)
      * tr/maint-word-diff-regex-sticky:
        diff: tweak a _copy_ of diff_options with word-diff
        diff: refactor the word-diff setup from builtin_diff_cmd
        t4034: diff.*.wordregex should not be "sticky" in --word-diff
      7b90ed59
    • J
      Merge branch 'jh/notes-merge-in-git-dir-worktree' into maint · 05843263
      Junio C Hamano 提交于
      Running "notes merge --commit" failed to perform correctly when run
      from any directory inside $GIT_DIR/.  When "notes merge" stops with
      conflicts, $GIT_DIR/NOTES_MERGE_WORKTREE is the place a user edits
      to resolve it.
      
      By Johan Herland (3) and Junio C Hamano (1)
      * jh/notes-merge-in-git-dir-worktree:
        notes-merge: Don't remove .git/NOTES_MERGE_WORKTREE; it may be the user's cwd
        notes-merge: use opendir/readdir instead of using read_directory()
        t3310: illustrate failure to "notes merge --commit" inside $GIT_DIR/
        remove_dir_recursively(): Add flag for skipping removal of toplevel dir
      05843263
    • J
      Sync with 1.7.9.7 · 50bf38ac
      Junio C Hamano 提交于
      50bf38ac
    • J
      Git 1.7.9.7 · d0f1ea60
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d0f1ea60
    • J
      Sync with 1.7.8.6 · b2bab5b3
      Junio C Hamano 提交于
      b2bab5b3
    • J
      Git 1.7.8.6 · d9f5ef7a
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d9f5ef7a
    • J
      Sync with 1.7.7.7 · aba5f57c
      Junio C Hamano 提交于
      aba5f57c
    • J
      Git 1.7.7.7 · 82588584
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      82588584
    • J
      diff --no-index: use strbuf for temporary pathnames · 875b91b3
      Junio C Hamano 提交于
      Instead of using limited-length buffers and risking of pathname
      truncation, we should be taking advantage of strbuf API nowadays.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      875b91b3
  6. 26 4月, 2012 1 次提交
    • J
      bundle: remove stray single-quote from error message · 97afde15
      Jonathan Nieder 提交于
      After running rev-list --boundary to retrieve the list of boundary
      commits, "git bundle create" runs its own revision walk.  If in this
      stage git encounters an unfamiliar option, it writes a message with an
      unbalanced quotation mark:
      
      	error: unrecognized argument: --foo'
      
      Drop the stray quote to match the "unrecognized argument: %s" message
      used elsewhere and save translators some work.
      
      This is mostly a futureproofing measure: for now, the "rev-list
      --boundary" command catches most strange arguments on its own and the
      above message is not seen unless you try something esoteric like "git
      bundle create test.bundle --header HEAD".
      Reported-by: NJunio C Hamano <gitster@pobox.com>
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      97afde15
  7. 17 4月, 2012 3 次提交
  8. 15 4月, 2012 2 次提交
    • R
      stash: use eval_gettextln correctly · ed3c400c
      Ross Lagerwall 提交于
      Otherwise, passing an invalid option, git stash -v, gave:
      
      git-stash: line 204: $'error: unknown option for \'stash save\':
      $option\n       To provide a message, use git stash save -- \'$option\'':
      command not found
      Signed-off-by: NRoss Lagerwall <rosslagerwall@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ed3c400c
    • J
      submodules: recursive fetch also checks new tags for submodule commits · a6801adc
      Jens Lehmann 提交于
      Since 88a21979 (fetch/pull: recurse into submodules when necessary) all
      fetched commits are examined if they contain submodule changes (unless
      configuration or command line options inhibit that). If a newly recorded
      submodule commit is not present in the submodule, a fetch is run inside
      it to download that commit.
      
      Checking new refs was done in an else branch where it wasn't executed for
      tags. This normally isn't a problem because tags are only fetched with
      the branches they live on, then checking the new commits in the fetched
      branches for submodule commits will also process all tags. But when a
      specific tag is fetched (or the refspec contains refs/tags/) commits only
      reachable by tags won't be searched for submodule commits, which is a bug.
      
      Fix that by moving the code outside the if/else construct to handle new
      tags just like any other ref. The performance impact of adding tags that
      most of the time lie on a branch which is checked anyway for new submodule
      commit should be minimal, as since 6859de45 (fetch: avoid quadratic loop
      checking for updated submodules) all ref-tips are collected first and then
      fed to a single rev-list.
      Spotted-by: NJeff King <peff@peff.net>
      Signed-off-by: NJens Lehmann <Jens.Lehmann@web.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a6801adc