1. 21 8月, 2008 4 次提交
    • J
      completion: find out supported merge strategies correctly · 25b3d4d6
      Junio C Hamano 提交于
      "git-merge" is a binary executable these days, and looking for assignment
      to $all_strategies variable with grep/sed does not work well.
      
      When asked for an unknown strategy, pre-1.6.0 and post-1.6.0 "git merge"
      commands respectively say:
      
          $ $HOME/git-snap-v1.5.6.5/bin/git merge -s help
          available strategies are: recur recursive octopus resolve stupid ours subtree
          $ $HOME/git-snap-v1.6.0/bin/git merge -s help
          Could not find merge strategy 'help'.
          Available strategies are: recursive octopus resolve ours subtree.
      
      both on their standard error stream.  We can use this to learn what
      strategies are supported.
      
      The sed script is written in such a way that it catches both old and new
      message styles ("Available" vs "available", and the full stop at the end).
      It also allows future versions of "git merge" to line-wrap the list of
      strategies, and add extra comments, like this:
      
          $ $HOME/git-snap-v1.6.1/bin/git merge -s help
          Could not find merge strategy 'help'.
          Available strategies are: blame recursive octopus resolve ours
          subtree.
          Also you have custom strategies: theirs
      
          Make sure you spell strategy names correctly.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      25b3d4d6
    • J
      decorate: allow const objects to be decorated · 54988bda
      Jeff King 提交于
      We don't actually modify the struct object, so there is no
      reason not to accept const versions (and this allows other
      callsites, like the next patch, to use the decoration
      machinery).
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      54988bda
    • J
      for-each-ref: cope with tags with incomplete lines · e276c26b
      Junio C Hamano 提交于
      If you have a tag with a single, incomplete line as its payload, asking
      git-for-each-ref for its %(body) element accessed a NULL pointer.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e276c26b
    • J
      diff --check: do not get confused by new blank lines in the middle · c35539eb
      Junio C Hamano 提交于
      The code remembered that the last diff output it saw was an empty line,
      and tried to reset that state whenever it sees a context line, a non-blank
      new line, or a new hunk.  However, this codepath asks the underlying diff
      engine to feed diff without any context, and the "just saw an empty line"
      state was not reset if you added a new blank line in the last hunk of your
      patch, even if it is not the last line of the file.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c35539eb
  2. 20 8月, 2008 3 次提交
  3. 19 8月, 2008 3 次提交
  4. 18 8月, 2008 4 次提交
    • J
      Start 1.6.0.X maintenance series · dba9194a
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      dba9194a
    • J
      GIT 1.6.0 · ea02eef0
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ea02eef0
    • J
      Merge git-gui 0.11.0 · 373a2733
      Junio C Hamano 提交于
      373a2733
    • J
      Merge branch 'ak/p4' · a1975c4f
      Junio C Hamano 提交于
      * ak/p4:
        Utilise our new p4_read_pipe and p4_write_pipe wrappers
        Add p4 read_pipe and write_pipe wrappers
        Put in the two other configuration elements found in the source
        Put some documentation in about the parameters that have been added
        Move git-p4.syncFromOrigin into a configuration parameters section
        Consistently use 'git-p4' for the configuration entries
        If the user has configured various parameters, use them.
        Switch to using 'p4_build_cmd'
        If we are in verbose mode, output what we are about to run (or return)
        Add a single command that will be used to construct the 'p4' command
        Utilise the new 'p4_system' function.
        Have a command that specifically invokes 'p4' (via system)
        Utilise the new 'p4_read_pipe_lines' command
        Create a specific version of the read_pipe_lines command for p4 invocations
      
      Conflicts:
      	contrib/fast-import/git-p4
      a1975c4f
  5. 17 8月, 2008 4 次提交
  6. 16 8月, 2008 6 次提交
  7. 15 8月, 2008 7 次提交
  8. 14 8月, 2008 6 次提交
  9. 13 8月, 2008 3 次提交