1. 21 8月, 2008 9 次提交
    • J
      Merge branch 'maint' · e28a8670
      Junio C Hamano 提交于
      * maint:
        Update draft release notes for 1.6.0.1
        Add hints to revert documentation about other ways to undo changes
        Install templates with the user and group of the installing personality
        "git-merge": allow fast-forwarding in a stat-dirty tree
        completion: find out supported merge strategies correctly
        decorate: allow const objects to be decorated
        for-each-ref: cope with tags with incomplete lines
        diff --check: do not get confused by new blank lines in the middle
        remote.c: remove useless if-before-free test
        mailinfo: avoid violating strbuf assertion
        git format-patch: avoid underrun when format.headers is empty or all NLs
      e28a8670
    • J
      Update draft release notes for 1.6.0.1 · 9b99e641
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9b99e641
    • T
      Add hints to revert documentation about other ways to undo changes · 3a634dcf
      Tarmigan Casebolt 提交于
      Based on its name, people may read the 'git revert' documentation when
      they want to undo local changes, especially people who have used other
      SCM's.  'git revert' may not be what they had in mind, but git
      provides several other ways to undo changes to files.  We can help
      them by pointing them towards the git commands that do what they might
      want to do.
      
      Cc: Daniel Barkalow <barkalow@iabervon.org>
      Cc: Lea Wiemann <lewiemann@gmail.com>
      Signed-off-by: NTarmigan Casebolt <tarmigan+git@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3a634dcf
    • J
      Install templates with the user and group of the installing personality · 71f46377
      Johannes Sixt 提交于
      If 'make install' was run with sufficient privileges, then the installed
      templates, which are copied using 'tar', would receive the user and group
      of whoever built git. This instructs 'tar' to ignore the user and group
      that are recorded in the archive.
      Signed-off-by: NJohannes Sixt <johannes.sixt@telecom.at>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      71f46377
    • J
      "git-merge": allow fast-forwarding in a stat-dirty tree · 9ca8f607
      Junio C Hamano 提交于
      We used to refresh the index to clear stat-dirtyness before a fast-forward
      merge.  Recent C rewrite forgot to do this.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9ca8f607
    • 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 13 次提交
  3. 19 8月, 2008 6 次提交
  4. 18 8月, 2008 5 次提交
    • J
      Start 1.6.1 cycle · 2ebc02d3
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2ebc02d3
    • 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 3 次提交