1. 04 11月, 2015 10 次提交
    • J
      Merge branch 'rt/placeholder-in-usage' into maint · 14f905ca
      Junio C Hamano 提交于
      A couple of commands still showed "[options]" in their usage string
      to note where options should come on their command line, but we
      spell that "[<options>]" in most places these days.
      
      * rt/placeholder-in-usage:
        am, credential-cache: add angle brackets to usage string
      14f905ca
    • J
      Merge branch 'dt/t7063-fix-flaky-test' into maint · ccb47391
      Junio C Hamano 提交于
      * dt/t7063-fix-flaky-test:
        t7063: fix flaky untracked-cache test
      ccb47391
    • J
      Merge branch 'mk/submodule-gitdir-path' into maint · 1bf986bc
      Junio C Hamano 提交于
      The submodule code has been taught to work better with separate
      work trees created via "git worktree add".
      
      * mk/submodule-gitdir-path:
        path: implement common_dir handling in git_pathdup_submodule()
        submodule refactor: use strbuf_git_path_submodule() in add_submodule_odb()
      1bf986bc
    • J
      Merge branch 'nd/gc-auto-background-fix' into maint · c1324e66
      Junio C Hamano 提交于
      When "git gc --auto" is backgrounded, its diagnosis message is
      lost.  Save it to a file in $GIT_DIR and show it next time the "gc
      --auto" is run.
      
      * nd/gc-auto-background-fix:
        gc: save log from daemonized gc --auto and print it next time
      c1324e66
    • J
      Merge branch 'ls/p4-translation-failure' into maint · c7bdbd6f
      Junio C Hamano 提交于
      Work around "git p4" failing when the P4 depot records the contents
      in UTF-16 without UTF-16 BOM.
      
      * ls/p4-translation-failure:
        git-p4: handle "Translation of file content failed"
        git-p4: add test case for "Translation of file content failed" error
      c7bdbd6f
    • J
      Merge branch 'gr/rebase-i-drop-warn' into maint · c04b3a2d
      Junio C Hamano 提交于
      Recent update to "rebase -i" that tries to sanity check the edited
      insn sheet before it uses it has become too picky on Windows where
      CRLF left by the editor is turned into a trailing CR on the line
      read via the "read" built-in command.
      
      * gr/rebase-i-drop-warn:
        rebase-i: work around Windows CRLF line endings
        t3404: "rebase -i" gets broken when insn sheet uses CR/LF line endings
      c04b3a2d
    • J
      Merge branch 'js/clone-dissociate' into maint · f836a32b
      Junio C Hamano 提交于
      "git clone --dissociate" runs a big "git repack" process at the
      end, and it helps to close file descriptors that are open on the
      packs and their idx files before doing so on filesystems that
      cannot remove a file that is still open.
      
      * js/clone-dissociate:
        clone --dissociate: avoid locking pack files
        sha1_file.c: add a function to release all packs
        sha1_file: consolidate code to close a pack's file descriptor
        t5700: demonstrate a Windows file locking issue with `git clone --dissociate`
      f836a32b
    • J
      Merge branch 'ld/p4-import-labels' into maint · 04bba3a1
      Junio C Hamano 提交于
      Correct "git p4 --detect-labels" so that it does not fail to create
      a tag that points at a commit that is also being imported.
      
      * ld/p4-import-labels:
        git-p4: fix P4 label import for unprocessed commits
        git-p4: do not terminate creating tag for unknown commit
        git-p4: failing test for ignoring invalid p4 labels
      04bba3a1
    • J
      Merge branch 'tk/stripspace' into maint · e23469f9
      Junio C Hamano 提交于
      The internal stripspace() function has been moved to where it
      logically belongs to, i.e. strbuf API, and the command line parser
      of "git stripspace" has been updated to use the parse_options API.
      
      * tk/stripspace:
        stripspace: use parse-options for command-line parsing
        strbuf: make stripspace() part of strbuf
      e23469f9
    • J
      Merge branch 'jk/repository-extension' into maint · f89baca1
      Junio C Hamano 提交于
      Prepare for Git on-disk repository representation to undergo
      backward incompatible changes by introducing a new repository
      format version "1", with an extension mechanism.
      
      * jk/repository-extension:
        introduce "preciousObjects" repository extension
        introduce "extensions" form of core.repositoryformatversion
      f89baca1
  2. 29 10月, 2015 2 次提交
  3. 21 10月, 2015 4 次提交
    • J
      Merge branch 'js/gc-with-stale-symref' into maint · b05c2f9e
      Junio C Hamano 提交于
      "git gc" used to barf when a symbolic ref has gone dangling
      (e.g. the branch that used to be your upstream's default when you
      cloned from it is now gone, and you did "fetch --prune").
      
      * js/gc-with-stale-symref:
        pack-objects: do not get distracted by broken symrefs
        gc: demonstrate failure with stale remote HEAD
      b05c2f9e
    • J
      Merge branch 'rd/test-path-utils' into maint · 3b7c49e9
      Junio C Hamano 提交于
      The normalize_ceiling_entry() function does not muck with the end
      of the path it accepts, and the real world callers do rely on that,
      but a test insisted that the function drops a trailing slash.
      
      * rd/test-path-utils:
        test-path-utils.c: remove incorrect assumption
      3b7c49e9
    • J
      Merge branch 'jc/doc-gc-prune-now' into maint · ce555f38
      Junio C Hamano 提交于
      "git gc" is safe to run anytime only because it has the built-in
      grace period to protect young objects.  In order to run with no
      grace period, the user must make sure that the repository is
      quiescent.
      
      * jc/doc-gc-prune-now:
        Documentation/gc: warn against --prune=<now>
      ce555f38
    • J
      Merge branch 'jk/filter-branch-use-of-sed-on-incomplete-line' into maint · 44a9b53c
      Junio C Hamano 提交于
      A recent "filter-branch --msg-filter" broke skipping of the commit
      object header, which is fixed.
      
      * jk/filter-branch-use-of-sed-on-incomplete-line:
        filter-branch: remove multi-line headers in msg filter
      44a9b53c
  4. 20 10月, 2015 1 次提交
    • D
      t7063: fix flaky untracked-cache test · 9b680fbd
      David Turner 提交于
      Dirty the test worktree's root directory, as the test expects.
      
      When testing the untracked-cache, we previously assumed that checking
      out master would be sufficient to mark the mtime of the worktree's
      root directory as racily-dirty.  But sometimes, the checkout would
      happen at 12345.999 seconds and the status at 12346.001 seconds,
      meaning that the worktree's root directory would not be racily-dirty.
      And since it was not truly dirty, occasionally the test would fail.
      By making the root truly dirty, the test will always succeed.
      
      Tested by running a few hundred times.
      Signed-off-by: NDavid Turner <dturner@twopensource.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9b680fbd
  5. 19 10月, 2015 1 次提交
  6. 17 10月, 2015 22 次提交