1. 05 8月, 2015 25 次提交
  2. 04 8月, 2015 15 次提交
    • J
      Merge branch 'jk/date-mode-format' · d939af12
      Junio C Hamano 提交于
      Teach "git log" and friends a new "--date=format:..." option to
      format timestamps using system's strftime(3).
      
      * jk/date-mode-format:
        strbuf: make strbuf_addftime more robust
        introduce "format" date-mode
        convert "enum date_mode" into a struct
        show-branch: use DATE_RELATIVE instead of magic number
      d939af12
    • J
      Merge branch 'pt/am-tests' · 980a3d3d
      Junio C Hamano 提交于
      * pt/am-tests:
        t3901: test git-am encoding conversion
        t3418: non-interactive rebase --continue with rerere enabled
        t4150: tests for am --[no-]scissors
        t4150: am with post-applypatch hook
        t4150: am with pre-applypatch hook
        t4150: am with applypatch-msg hook
        t4150: am --resolved fails if index has unmerged entries
        t4150: am --resolved fails if index has no changes
        t4150: am refuses patches when paused
        t4151: am --abort will keep dirty index intact
        t4150: am fails if index is dirty
        t4150: am.messageid really adds the message id
      980a3d3d
    • J
      Merge branch 'sg/bash-prompt-untracked-optim' · 461c1197
      Junio C Hamano 提交于
      Optimize computation of untracked status indicator by bash prompt
      script (in contrib/).
      
      * sg/bash-prompt-untracked-optim:
        bash prompt: faster untracked status indicator with untracked directories
        bash prompt: test untracked files status indicator with untracked dirs
      461c1197
    • J
      Merge branch 'cb/uname-in-untracked' · 8e699cdb
      Junio C Hamano 提交于
      An experimental "untracked cache" feature used uname(2) in a
      slightly unportable way.
      
      * cb/uname-in-untracked:
        untracked: fix detection of uname(2) failure
      8e699cdb
    • J
      Merge branch 'se/doc-checkout-ours-theirs' · c0b901ea
      Junio C Hamano 提交于
      A "rebase" replays changes of the local branch on top of something
      else, as such they are placed in stage #3 and referred to as
      "theirs", while the changes in the new base, typically a foreign
      work, are placed in stage #2 and referred to as "ours".  Clarify
      the "checkout --ours/--theirs".
      
      * se/doc-checkout-ours-theirs:
        checkout: document subtlety around --ours/--theirs
      c0b901ea
    • J
      Merge branch 'ib/scripted-parse-opt-better-hint-string' · 2bf2d819
      Junio C Hamano 提交于
      The "rev-parse --parseopt" mode parsed the option specification
      and the argument hint in a strange way to allow '=' and other
      special characters in the option name while forbidding them from
      the argument hint.  This made it impossible to define an option
      like "--pair <key>=<value>" with "pair=key=value" specification,
      which instead would have defined a "--pair=key <value>" option.
      
      * ib/scripted-parse-opt-better-hint-string:
        rev-parse --parseopt: allow [*=?!] in argument hints
      2bf2d819
    • J
      Merge branch 'mh/fast-import-optimize-current-from' · 3ecca887
      Junio C Hamano 提交于
      Often a fast-import stream builds a new commit on top of the
      previous commit it built, and it often unconditionally emits a
      "from" command to specify the first parent, which can be omitted in
      such a case.  This caused fast-import to forget the tree of the
      previous commit and then re-read it from scratch, which was
      inefficient.  Optimize for this common case.
      
      * mh/fast-import-optimize-current-from:
        fast-import: do less work when given "from" matches current branch head
      3ecca887
    • J
      Merge branch 'kn/tag-doc-fix' · 85df7cd4
      Junio C Hamano 提交于
      * kn/tag-doc-fix:
        Documentation/tag: remove double occurance of "<pattern>"
      85df7cd4
    • J
      Merge branch 'mh/fast-import-get-mark' · c0d50343
      Junio C Hamano 提交于
      "git fast-import" learned to respond to the get-mark command via
      its cat-blob-fd interface.
      
      * mh/fast-import-get-mark:
        fast-import: add a get-mark command
      c0d50343
    • J
      Merge branch 'gr/rebase-i-drop-warn' · 3a760cad
      Junio C Hamano 提交于
      Add "drop commit-object-name subject" command as another way to
      skip replaying of a commit in "rebase -i", and then punish those
      who do not use it (and instead just remove the lines) by throwing
      a warning.
      
      * gr/rebase-i-drop-warn:
        git rebase -i: add static check for commands and SHA-1
        git rebase -i: warn about removed commits
        git-rebase -i: add command "drop" to remove a commit
      3a760cad
    • J
      Merge branch 'jc/commit-slab' · 720e20eb
      Junio C Hamano 提交于
      Memory use reduction when commit-slab facility is used to annotate
      sparsely (which is not recommended in the first place).
      
      * jc/commit-slab:
        commit-slab: introduce slabname##_peek() function
      720e20eb
    • J
      Merge branch 'dt/log-follow-config' · 2dded960
      Junio C Hamano 提交于
      Add a new configuration variable to enable "--follow" automatically
      when "git log" is run with one pathspec argument.
      
      * dt/log-follow-config:
        log: add "log.follow" configuration variable
      2dded960
    • J
      Merge branch 'gp/status-rebase-i-info' · 178d2c7a
      Junio C Hamano 提交于
      Teach "git status" to show a more detailed information regarding
      the "rebase -i" session in progress.
      
      * gp/status-rebase-i-info:
        status: add new tests for status during rebase -i
        status: give more information during rebase -i
        status: differentiate interactive from non-interactive rebases
        status: factor two rebase-related messages together
      178d2c7a
    • J
      Merge branch 'jk/cat-file-batch-all' · d2c3464f
      Junio C Hamano 提交于
      "cat-file" learned "--batch-all-objects" option to enumerate all
      available objects in the repository more quickly than "rev-list
      --all --objects" (the output includes unreachable objects, though).
      
      * jk/cat-file-batch-all:
        cat-file: sort and de-dup output of --batch-all-objects
        cat-file: add --batch-all-objects option
        cat-file: split batch_one_object into two stages
        cat-file: stop returning value from batch_one_object
        cat-file: add --buffer option
        cat-file: move batch_options definition to top of file
        cat-file: minor style fix in options list
      d2c3464f
    • J
      Merge branch 'js/fsck-opt' · b2f44feb
      Junio C Hamano 提交于
      Allow ignoring fsck errors on specific set of known-to-be-bad
      objects, and also tweaking warning level of various kinds of non
      critical breakages reported.
      
      * js/fsck-opt:
        fsck: support ignoring objects in `git fsck` via fsck.skiplist
        fsck: git receive-pack: support excluding objects from fsck'ing
        fsck: introduce `git fsck --connectivity-only`
        fsck: support demoting errors to warnings
        fsck: document the new receive.fsck.<msg-id> options
        fsck: allow upgrading fsck warnings to errors
        fsck: optionally ignore specific fsck issues completely
        fsck: disallow demoting grave fsck errors to warnings
        fsck: add a simple test for receive.fsck.<msg-id>
        fsck: make fsck_tag() warn-friendly
        fsck: handle multiple authors in commits specially
        fsck: make fsck_commit() warn-friendly
        fsck: make fsck_ident() warn-friendly
        fsck: report the ID of the error/warning
        fsck (receive-pack): allow demoting errors to warnings
        fsck: offer a function to demote fsck errors to warnings
        fsck: provide a function to parse fsck message IDs
        fsck: introduce identifiers for fsck messages
        fsck: introduce fsck options
      b2f44feb