1. 01 4月, 2013 1 次提交
    • G
      gitk: Move hard-coded colors to .gitk · 252c52df
      Gauthier Östervall 提交于
      The Preferences dialog gives control of the colors of some elements of
      the gitk user interface, but many are hard-coded in the gitk script.
      In order to allow these to be customized through the gitk config
      file, these other colors are stored in variables which can be set
      in the config file, thus providing a way for color schemes to be stored
      and shared.
      
      For win32, this makes the default foreground color that of window text
      rather than button text.
      Signed-off-by: NGauthier Östervall <gauthier@ostervall.se>
      [paulus@samba.org: Reworded commit message to be clearer,
       changed filesepfgcolor to black]
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      252c52df
  2. 30 1月, 2013 1 次提交
  3. 02 1月, 2013 1 次提交
    • P
      gitk: Display important heads even when there are many · 386befb7
      Paul Mackerras 提交于
      When there are more than $maxrefs descendant heads to display in the
      Branches field of the commit display, we currently just display "many",
      which is not very informative.  To make the display more informative,
      we now look for "master" and whichever head is currently checked out,
      and display them even if there are too many heads to display them all.
      The display then looks like "Branches: master and many more (33)" for
      instance.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      386befb7
  4. 01 1月, 2013 2 次提交
    • P
      gitk: Improve display of list of nearby tags and heads · d34835c9
      Paul Mackerras 提交于
      This provides a control in the preferences pane for the limit on
      how many tags or heads are displayed with the commit details under
      the Branch(es), Precedes and Follows headings.  This limit is now
      saved in ~/.gitk so that changes are persistent.
      
      This also applies word-wrapping to the list of tags or heads under
      the Branch, Precedes and Follows headings, so that long lists are
      more readable.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d34835c9
    • P
      gitk: Fix display of branch names on some commits · d809fb17
      Paul Mackerras 提交于
      Sometimes the code that divides commits up into arcs creates two
      successive arcs, but the commit between them (the commit at the end
      of the first arc and the beginning of the second arc) has only one
      parent and one child.  If that commit is also the head of one or more
      branches, those branches get omitted from the "Branches" field in the
      commit display.
      
      The omission occurs because the commit gets erroneously identified as
      a commit which is part-way along an arc in [descheads].  This fixes it
      by changing the test to look at the arcouts array, which only contains
      elements for the commits at the start or end of an arc.
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d809fb17
  5. 22 10月, 2012 6 次提交
  6. 23 9月, 2012 4 次提交
  7. 12 9月, 2012 1 次提交
  8. 09 9月, 2012 2 次提交
  9. 04 8月, 2012 1 次提交
  10. 25 4月, 2012 1 次提交
  11. 03 4月, 2012 2 次提交
  12. 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
  13. 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
  14. 19 3月, 2012 7 次提交
  15. 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
  16. 24 7月, 2011 8 次提交