1. 18 1月, 2014 9 次提交
    • T
      l10n: vi.po (2210t): Updated git-core translation · 5832c3f2
      Tran Ngoc Quan 提交于
       * Updated new strings
       * Fix typos and review
       * Change meaning of stage
      Signed-off-by: NTran Ngoc Quan <vnwildman@gmail.com>
      5832c3f2
    • J
      l10n: git.pot: v1.9 round 1 (27 new, 11 removed) · df49095a
      Jiang Xin 提交于
      Generate po/git.pot from v1.9-rc0 for git v1.9 l10n round 1.
      Signed-off-by: NJiang Xin <worldhello.net@gmail.com>
      df49095a
    • J
      Git 1.9-rc0 · 79fcbf7e
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      79fcbf7e
    • J
      Merge branch 'maint' · d98c916e
      Junio C Hamano 提交于
      * maint:
        git-svn: workaround for a bug in svn serf backend
      d98c916e
    • J
      Merge branch 'fp/submodule-checkout-mode' · 1aeb10a1
      Junio C Hamano 提交于
      "submodule.*.update=checkout", when propagated from .gitmodules to
      .git/config, turned into a "submodule.*.update=none", which did not
      make much sense.
      
      * fp/submodule-checkout-mode:
        git-submodule.sh: 'checkout' is a valid update mode
      1aeb10a1
    • J
      Merge branch 'nd/shallow-clone' · 92251b1b
      Junio C Hamano 提交于
      Fetching from a shallow-cloned repository used to be forbidden,
      primarily because the codepaths involved were not carefully vetted
      and we did not bother supporting such usage. This attempts to allow
      object transfer out of a shallow-cloned repository in a controlled
      way (i.e. the receiver become a shallow repository with truncated
      history).
      
      * nd/shallow-clone: (31 commits)
        t5537: fix incorrect expectation in test case 10
        shallow: remove unused code
        send-pack.c: mark a file-local function static
        git-clone.txt: remove shallow clone limitations
        prune: clean .git/shallow after pruning objects
        clone: use git protocol for cloning shallow repo locally
        send-pack: support pushing from a shallow clone via http
        receive-pack: support pushing to a shallow clone via http
        smart-http: support shallow fetch/clone
        remote-curl: pass ref SHA-1 to fetch-pack as well
        send-pack: support pushing to a shallow clone
        receive-pack: allow pushes that update .git/shallow
        connected.c: add new variant that runs with --shallow-file
        add GIT_SHALLOW_FILE to propagate --shallow-file to subprocesses
        receive/send-pack: support pushing from a shallow clone
        receive-pack: reorder some code in unpack()
        fetch: add --update-shallow to accept refs that update .git/shallow
        upload-pack: make sure deepening preserves shallow roots
        fetch: support fetching from a shallow repository
        clone: support remote shallow repository
        ...
      92251b1b
    • J
      Merge branch 'jk/pull-rebase-using-fork-point' · d8cf714c
      Junio C Hamano 提交于
      Finishing touches so that an expected error message will not leak to
      the UI.
      
      * jk/pull-rebase-using-fork-point:
        pull: suppress error when no remoteref is found
      d8cf714c
    • J
      pull: suppress error when no remoteref is found · ffc2b483
      John Keeping 提交于
      Commit 48059e40 (pull: use merge-base --fork-point when appropriate,
      2013-12-08) incorrectly assumes that get_remote_merge_branch will either
      yield a non-empty string or return an error, but there are circumstances
      where it will yield an empty string.
      
      The previous code then invoked git-rev-list with no arguments, which
      results in an error suppressed by redirecting stderr to /dev/null.  Now
      we invoke git-merge-base with an empty branch name, which also results
      in an error.  Suppress this in the same way.
      Signed-off-by: NJohn Keeping <john@keeping.me.uk>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ffc2b483
    • R
      git-svn: workaround for a bug in svn serf backend · ac930287
      Roman Kagan 提交于
      Subversion serf backend in versions 1.8.5 and below has a bug(*) that the
      function creating the descriptor of a file change -- add_file() --
      doesn't make a copy of its third argument when storing it on the
      returned descriptor.  As a result, by the time this field is used (in
      transactions of file copying or renaming) it may well be released, and
      the memory reused.
      
      One of its possible manifestations is the svn assertion triggering on an
      invalid path, with a message
      
      svn_fspath__skip_ancestor: Assertion
      `svn_fspath__is_canonical(child_fspath)' failed.
      
      This patch works around this bug, by storing the value to be passed as
      the third argument to add_file() in a local variable with the same scope
      as the file change descriptor, making sure their lifetime is the same.
      
      * [ew: fixed in Subversion r1553376 as noted by Jonathan Nieder]
      
      Cc: Benjamin Pabst <benjamin.pabst85@gmail.com>
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Reviewed-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NRoman Kagan <rkagan@mail.ru>
      ac930287
  2. 14 1月, 2014 21 次提交
  3. 11 1月, 2014 10 次提交
    • J
      diff test: reading a directory as a file need not error out · 0df49bef
      Jonathan Nieder 提交于
      There is no guarantee that strbuf_read_file must error out for
      directories.  On some operating systems (e.g., Debian GNU/kFreeBSD
      wheezy), reading a directory gives its raw content:
      
      	$ head -c5 < / | cat -A
      	^AM-|^_^@^L$
      
      As a result, 'git diff -O/' succeeds instead of erroring out on
      these systems, causing t4056.5 "orderfile is a directory" to fail.
      
      On some weird OS it might even make sense to pass a directory to the
      -O option and this is not a common user mistake that needs catching.
      Remove the test.
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0df49bef
    • J
      mv: let 'git mv file no-such-dir/' error out on Windows, too · a8933469
      Johannes Sixt 提交于
      The previous commit c57f6281 (mv: let 'git mv file no-such-dir/' error out)
      relies on that rename("file", "no-such-dir/") fails if the directory does not
      exist (note the trailing slash).  This does not work as expected on Windows:
      This rename() call does not fail, but renames "file" to "no-such-dir" (not to
      "no-such-dir/file"). Insert an explicit check for this case to force an error.
      
      This changes the error message from
      
         $ git mv file no-such-dir/
         fatal: renaming 'file' failed: Not a directory
      
      to
      
         $ git mv file no-such-dir/
         fatal: destination directory does not exist, source=file, destination=no-such-dir/
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a8933469
    • J
      Update draft release notes to 1.9 · a25014bc
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a25014bc
    • J
      Merge branch 'ss/builtin-cleanup' · 74ca4933
      Junio C Hamano 提交于
      "git help $cmd" unnecessarily enumerated potential command names
      from the filesystem, even when $cmd is known to be a built-in.
      
      Ideas for further optimization, primarily by killing the use of
      is_in_cmdlist(), were suggested in the discussion, but they can
      come as follow-ups on top of this series.
      
      * ss/builtin-cleanup:
        builtin/help.c: speed up is_git_command() by checking for builtin commands first
        builtin/help.c: call load_command_list() only when it is needed
        git.c: consistently use the term "builtin" instead of "internal command"
      74ca4933
    • J
      Merge branch 'vm/octopus-merge-bases-simplify' · 4243b2d1
      Junio C Hamano 提交于
      * vm/octopus-merge-bases-simplify:
        get_octopus_merge_bases(): cleanup redundant variable
      4243b2d1
    • J
      Merge branch 'ta/format-user-manual-as-an-article' · 2b284976
      Junio C Hamano 提交于
      Update the way the user-manual is formatted via AsciiDoc to save
      trees.
      
      * ta/format-user-manual-as-an-article:
        user-manual: improve html and pdf formatting
      2b284976
    • J
      Merge branch 'rr/completion-branch-config' · 30159e53
      Junio C Hamano 提交于
      Two-level configuration variable names in "branch.*" and "remote.*"
      hierarchies whose variables are predominantly three-level where not
      completed by hitting a <TAB> in bash and zsh completions.
      
      * rr/completion-branch-config:
        completion: fix remote.pushdefault
        completion: fix branch.autosetup(merge|rebase)
        completion: introduce __gitcomp_nl_append ()
        zsh completion: find matching custom bash completion
      30159e53
    • J
      Merge branch 'js/lift-parent-count-limit' · 3b9d69ec
      Junio C Hamano 提交于
      There is no reason to have a hardcoded upper limit of the number of
      parents for an octopus merge, created via the graft mechanism.
      
      * js/lift-parent-count-limit:
        Remove the line length limit for graft files
      3b9d69ec
    • J
      Merge branch 'jk/test-framework-updates' · f0f493ec
      Junio C Hamano 提交于
      The basic test used to leave unnecessary trash directories in the
      t/ directory.
      
      * jk/test-framework-updates:
        t0000: drop "known breakage" test
        t0000: simplify HARNESS_ACTIVE hack
        t0000: set TEST_OUTPUT_DIRECTORY for sub-tests
      f0f493ec
    • J
      Merge branch 'bm/merge-base-octopus-dedup' · d5d1678b
      Junio C Hamano 提交于
      "git merge-base --octopus" used to leave cleaning up suboptimal
      result to the caller, but now it does the clean-up itself.
      
      * bm/merge-base-octopus-dedup:
        merge-base --octopus: reduce the result from get_octopus_merge_bases()
        merge-base: separate "--independent" codepath into its own helper
      d5d1678b