1. 03 4月, 2012 1 次提交
  2. 24 3月, 2012 1 次提交
    • M
      gitk: Teach gitk to respect log.showroot · b2b76d10
      Marcus Karlsson 提交于
      In early days, all projects managed by git (except for git itself) had the
      product of a fairly mature development history in their first commit, and
      it was deemed unnecessary clutter to show additions of these thousands of
      paths as a patch.
      
      "git log" learned to show the patch for the initial commit without requiring
      --root command line option at 0f03ca94 (config option log.showroot to show
      the diff of root commits, 2006-11-23).
      
      Teach gitk to respect log.showroot.
      
      [paulus@samba.org: Cleaned up the Tcl a bit, use --bool on the
       git config call]
      Signed-off-by: NMarcus Karlsson <mk@acc.umu.se>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      b2b76d10
  3. 23 3月, 2012 1 次提交
    • P
      gitk: Add menu items for comparing a commit with the marked commit · 6febdede
      Paul Mackerras 提交于
      Sometimes one wants to see the different between two commits that are
      a long distance apart in the graph display.  This is difficult to do
      with the "Diff this -> selected" and "Diff selected -> this" menu
      items because the need to maintain the selection means that one can't
      use the find facilities or the reference list window to navigate from
      one to the other.
      
      This provides an alternative using the mark.  Having found one commit,
      one marks it with the "Mark this commit" menu item, then navigates to
      the other commit and uses the new "Diff this -> marked commit" and/or
      "Diff marked commit -> this" menu items.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      6febdede
  4. 19 3月, 2012 7 次提交
  5. 08 10月, 2011 1 次提交
    • J
      gitk: Make vi-style keybindings more vi-like · 811c70fc
      Jonathan Nieder 提交于
      When commit 6e2dda35 (Add new keybindings, 2005-09-22) added vi-style
      keybindings to gitk (an excellent idea!), instead of adopting the
      usual "hjkl = left, down, up, right" bindings used by less, vi, rogue,
      and many other programs, it used "ijkl = up, left, down, right" to
      mimic the inverted-T formation of the arrow keys on a qwerty keyboard,
      in the style of Lode runner.  So using 'j' and 'k' to scroll through
      commits produces utterly confusing results to the vi user, as 'k'
      moves down and 'j' moves to the previous commit.
      
      Luckily most non-vi-users are probably using an alternate set of keys
      (cursor keys or z/x + n/p) anyway.  Switch to the expected vi/nethack
      convention.
      Requested-by: NJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      811c70fc
  6. 24 7月, 2011 10 次提交
  7. 29 5月, 2011 3 次提交
  8. 09 4月, 2011 1 次提交
  9. 09 3月, 2011 2 次提交
  10. 19 1月, 2011 2 次提交
  11. 14 12月, 2010 1 次提交
  12. 12 12月, 2010 4 次提交
  13. 30 5月, 2010 1 次提交
    • K
      gitk: Show notes by default (like git log does) · 7defefb1
      Kirill Smelkov 提交于
      Starting from ~ git-1.6.6, log, show & whatchanged show notes by default.
      
      On the other hand, gitk does not show notes by default, because under
      the hood it calls 'git log --pretty=raw ...' to get the log, and in
      'git log' notes are turned off when user specifies format or pretty
      settings.
      
      Yes, it is possible to invoke 'gitk --show-notes' explicitly, but since
      from user's perspective, gitk is gui enabled git log, it would be
      logical for gitk to show notes by default too for consistency.
      
      In git, --show-notes was introduced in 66b2ed (Fix "log" family not to
      be too agressive about showing notes) which predates 1.6.6.2.
      
      Notes can still be supressed with 'gitk --no-notes'.
      
      Cc: Michael J Gruber <git@drmicha.warpmail.net>
      Signed-off-by: NKirill Smelkov <kirr@mns.spb.ru>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      7defefb1
  14. 17 4月, 2010 1 次提交
  15. 20 3月, 2010 4 次提交