1. 16 4月, 2008 1 次提交
  2. 13 4月, 2008 1 次提交
  3. 12 4月, 2008 1 次提交
    • C
      bisect: fix bad rev checking in "git bisect good" · e3389075
      Christian Couder 提交于
      It seems that "git bisect good" and "git bisect skip" have never
      properly checked arguments that have been passed to them. As soon
      as one of them can be parsed as a SHA1, no error or warning would
      be given.
      
      This is because 'git rev-parse --revs-only --no-flags "$@"' always
      "exit 0" and outputs all the SHA1 it can found from parsing "$@".
      
      This patch fix this by using, for each "bisect good" argument, the
      same logic as for the "bisect bad" argument.
      
      While at it, this patch teaches "bisect bad" to give a meaningfull
      error message when it is passed more than one argument.
      
      Note that if "git bisect good" or "git bisect skip" is given some
      proper revs and then something that is not a proper rev, then the
      first proper revs will still have been marked as "good" or "skip".
      Signed-off-by: NChristian Couder <chriscool@tuxfamily.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e3389075
  4. 28 2月, 2008 1 次提交
    • C
      Eliminate confusing "won't bisect on seeked tree" failure · 0f497e75
      Carl Worth 提交于
      This error message is very confusing---it doesn't tell the user
      anything about how to fix the situation. And the actual fix
      for the situation ("git bisect reset") does a checkout of a
      potentially random branch, (compared to what the user wants to
      be on for the bisect she is starting).
      
      The simplest way to eliminate the confusion is to just make
      "git bisect start" do the cleanup itself. There's no significant
      loss of safety here since we already have a general safety in
      the form of the reflog.
      
      Note: We preserve the warning for any cogito users. We do this
      by switching from .git/head-name to .git/BISECT_START for the
      extra state, (which is a more descriptive name anyway).
      Signed-off-by: NCarl Worth <cworth@cworth.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0f497e75
  5. 14 2月, 2008 1 次提交
  6. 12 2月, 2008 1 次提交
  7. 08 12月, 2007 1 次提交
    • J
      git-bisect visualize: work in non-windowed environments better · 235997c9
      Junio C Hamano 提交于
      This teaches "git bisect visualize" to be more useful in non-windowed
      environments.
      
       (1) When no option is given, and $DISPLAY is set, it continues to
           spawn gitk as before;
      
       (2) When no option is given, and $DISPLAY is unset, "git log" is run
           to show the range of commits between the bad one and the good ones;
      
       (3) If only "-flag" options are given, "git log <options>" is run.
           E.g. "git bisect visualize --stat"
      
       (4) Otherwise, all of the given options are taken as the initial part
           of the command line and the commit range expression is given to
           that command.  E.g. "git bisect visualize tig" will run "tig"
           history viewer to show between the bad one and the good ones.
      
      As "visualize" is a bit too long to type, we also give it a shorter
      synonym "view".
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      235997c9
  8. 20 11月, 2007 1 次提交
  9. 19 11月, 2007 1 次提交
  10. 18 11月, 2007 1 次提交
  11. 16 11月, 2007 4 次提交
  12. 09 11月, 2007 1 次提交
  13. 06 11月, 2007 1 次提交
  14. 30 10月, 2007 1 次提交
  15. 27 10月, 2007 6 次提交
  16. 03 7月, 2007 1 次提交
  17. 17 4月, 2007 1 次提交
  18. 07 4月, 2007 1 次提交
    • J
      git-bisect: allow bisecting with only one bad commit. · 0a5280a9
      Junio C Hamano 提交于
      This allows you to say:
      
      	git bisect start
      	git bisect bad $bad
      	git bisect next
      
      to start bisection without knowing a good commit.  This would
      have you try a commit that is half-way since the beginning of
      the history, which is rather wasteful if you already know a good
      commit, but if you don't (or your history is short enough that
      you do not care), there is no reason not to allow this.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      0a5280a9
  19. 06 4月, 2007 2 次提交
  20. 30 3月, 2007 1 次提交
  21. 28 3月, 2007 1 次提交
  22. 26 3月, 2007 1 次提交
  23. 24 3月, 2007 2 次提交
  24. 23 3月, 2007 2 次提交
  25. 07 2月, 2007 1 次提交
  26. 06 2月, 2007 1 次提交
  27. 02 2月, 2007 1 次提交
  28. 17 10月, 2006 1 次提交
  29. 09 7月, 2006 1 次提交