1. 11 9月, 2009 4 次提交
  2. 10 9月, 2009 1 次提交
  3. 09 9月, 2009 1 次提交
  4. 08 9月, 2009 9 次提交
  5. 06 9月, 2009 6 次提交
  6. 04 9月, 2009 4 次提交
  7. 03 9月, 2009 6 次提交
  8. 02 9月, 2009 2 次提交
    • J
      status: list unmerged files much later · 228e7b5d
      Johannes Sixt 提交于
      When resolving a conflicted merge, two lists in the status output need
      more attention from the user than other parts.
      
       - the list of updated paths is useful to review the amount of changes the
         merge brings in (the user cannot do much about them other than
         reviewing, though); and
      
       - the list of unmerged paths needs the most attention from the user; the
         user needs to resolve them in order to proceed.
      
      Since the output of git status does not by default go through the pager,
      the early parts of the output can scroll away at the top. It is better to
      put the more important information near the bottom.  During a merge, local
      changes that are not in the index are minimum, and you should keep the
      untracked list small in any case, so moving the unmerged list from the top
      of the output to immediately after the list of updated paths would give us
      the optimum layout.
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Acked-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      228e7b5d
    • M
      stash: simplify defaulting to "save" and reject unknown options · 3c2eb80f
      Matthieu Moy 提交于
      With the earlier DWIM patches, certain combination of options defaulted
      to the "save" command correctly while certain equally valid combination
      did not.  For example, "git stash -k" were Ok but "git stash -q -k" did
      not work.
      
      This makes the logic of defaulting to "save" much simpler. If there are no
      non-flag arguments, it is clear that there is no command word, and we
      default to "save" subcommand.  This rule prevents "git stash -q apply"
      from quietly creating a stash with "apply" as the message.
      
      This also teaches "git stash save" to reject an unknown option.  This is
      to keep a mistyped "git stash save --quite" from creating a stash with a
      message "--quite", and this safety is more important with the new logic
      to default to "save" with any option-looking argument without an explicit
      comand word.
      
      [jc: this is based on Matthieu's 3-patch series, and a follow-up
      discussion, and he and Peff take all the credit; if I have introduced bugs
      while reworking, they are mine.]
      Signed-off-by: NMatthieu Moy <Matthieu.Moy@imag.fr>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3c2eb80f
  9. 01 9月, 2009 6 次提交
  10. 31 8月, 2009 1 次提交