1. 19 3月, 2012 1 次提交
  2. 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
  3. 24 7月, 2011 10 次提交
  4. 29 5月, 2011 3 次提交
  5. 09 4月, 2011 1 次提交
  6. 09 3月, 2011 2 次提交
  7. 19 1月, 2011 1 次提交
  8. 12 12月, 2010 3 次提交
    • S
      gitk: Make text selectable on Mac · 4adcbea0
      Stefan Haller 提交于
      Stolen from git-gui, 23effa79 (original log message by
      Shawn O. Pearce <spearce@spearce.org> follows):
      
          git-gui: Force focus to the diff viewer on mouse click.
      
          Apparently a "feature" of Tcl/Tk on Mac OS X is that a disabled text
          widget cannot receive focus or receive a selection within it.  This
          makes the diff viewer almost useless on that platform as you cannot
          select individual parts of the buffer.
      
          Now we force focus into the diff viewer when its clicked on with
          button 1.  This works around the feature and allows selection to
          work within the viewer just like it does on other less sane systems,
          like Microsoft Windows.
      Signed-off-by: NStefan Haller <stefan@haller-berlin.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      4adcbea0
    • S
      gitk: Prevent the text pane from becoming editable · 120ea892
      Stefan Haller 提交于
      When setting the "Patch/Tree" radio buttons to "Tree" and
      clicking on a file to display it, the text pane would
      accidentally become editable (because of the early return
      in getblobline).
      Signed-off-by: NStefan Haller <stefan@haller-berlin.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      120ea892
    • T
      gitk: Add the equivalent of diff --color-words · ae4e3ff9
      Thomas Rast 提交于
      Use the newly added 'diff --word-diff=porcelain' to teach gitk a
      color-words mode, with two different modes analogous to the
      --word-diff=plain and --word-diff=color settings.  These are selected
      by a dropdown box.
      
      As an extra twist, automatically enable this word-diff support when
      the user mentions a word-diff related option on the command line.
      These options were previously ignored because they would break diff
      parsing.
      
      Both of these features are only enabled if we have a version of git
      that supports --word-diff=porcelain, meaning at least 1.7.2.
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      ae4e3ff9
  9. 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
  10. 17 4月, 2010 1 次提交
  11. 20 3月, 2010 10 次提交
  12. 04 2月, 2010 1 次提交
  13. 12 1月, 2010 4 次提交
    • M
      gitk: Adjust two equal strings which differed in whitespace · 0359ba72
      Markus Heidelberg 提交于
      There were the two strings "SHA1 ID: " and "SHA1 ID:" as description
      for the SHA1 search textbox.  Change it to two equal strings, the
      space is now outside of the translated string.
      
      Furthermore the German translation wasn't unique, but "SHA1:" resp.
      "SHA1-Hashwert:". The former was displayed after initialisation, the
      latter after changes to the textbox, for example when clearing the text.
      But it was too long to be displayed fully, so use a shorter translation.
      Signed-off-by: NMarkus Heidelberg <markus.heidelberg@web.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0359ba72
    • K
      gitk: Display submodule diffs with appropriate encoding · 1f2cecfd
      Kirill Smelkov 提交于
      Previously, when submodule commit headings contained non-latin-1
      characters, they were displayed incorrectly in gitk, because $line was
      not properly decoded, for example:
      
      ----------------------------- Documentation/Dokko -----------------------------
      Submodule Documentation/Dokko 2ca20c7..0ea204d:
        > Протоколы сопряжения ИМС "Мостик-21631"  (ЛИ2 и Сандал)
        > hardware: документация на InnoDisk SATA 10000
        > hardware: документация на IEI PCISA-6770E2 v3.0
        > hardware: документация на Fastwel NIB941
        > hardware: документация на IEI IPX-9S
        > hardware: документация на Hirschmann 5TX-EEC
      
      instead of
      
      ----------------------------- Documentation/Dokko -----------------------------
      Submodule Documentation/Dokko 2ca20c7..0ea204d:
        > Протоколы сопряжения ИМС "Мостик-21631"  (ЛИ2 и Сандал)
        > hardware: документация на InnoDisk SATA 10000
        > hardware: документация на IEI PCISA-6770E2 v3.0
        > hardware: документация на Fastwel NIB941
        > hardware: документация на IEI IPX-9S
        > hardware: документация на Hirschmann 5TX-EEC
      
      This fixes it.
      Signed-off-by: NKirill Smelkov <kirr@landau.phys.spbu.ru>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      1f2cecfd
    • D
      gitk: Fix display of newly-created tags · fcacf489
      Dave Dulson 提交于
      If the user creates a tag with the "create tag" dialog in gitk and
      then clicks on the newly-created tag, its contents don't get
      displayed.  The reason is that rereadrefs hasn't been called, meaning
      the tag doesn't exist in $tagobjid.  This causes the cat-file to fail.
      Instead of using $tagobjid, pass the $tag directly, ensuring the tag
      contents are populated correctly.
      Signed-off-by: NDavid Dulson <dave@dulson.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      fcacf489
    • D
      gitk: Enable gitk to create tags with messages · dfb891e3
      Dave Dulson 提交于
      Currently, tags created using the "create tag" dialog in gitk are
      always lightweight tags, i.e., they don't have any annotation
      (message).  This enables the user to specify a message; if they do,
      gitk will create an unsigned, annotated tag object.
      Signed-off-by: NDavid Dulson <dave@dulson.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      dfb891e3
  14. 14 12月, 2009 1 次提交