1. 20 3月, 2010 5 次提交
  2. 04 2月, 2010 1 次提交
  3. 29 1月, 2010 4 次提交
  4. 12 1月, 2010 6 次提交
    • 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
    • M
      gitk: Update Hungarian translation · be8e40df
      Miklos Vajna 提交于
      Signed-off-by: NMiklos Vajna <vmiklos@frugalware.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      be8e40df
    • L
      gitk: Add Hungarian translation · 7e705ec1
      Laszlo Papp 提交于
      [Junio C Hamano <gitster@pobox.com>: Fix a couple of wrapped lines]
      Signed-off-by: NLaszlo Papp <djszapi@archlinux.us>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      7e705ec1
  5. 14 12月, 2009 1 次提交
  6. 19 11月, 2009 1 次提交
  7. 14 11月, 2009 6 次提交
  8. 03 11月, 2009 5 次提交
  9. 21 9月, 2009 1 次提交
  10. 10 9月, 2009 2 次提交
    • P
      gitk: Don't compare fake children when comparing commits · aa43561a
      Paul Mackerras 提交于
      This fixes a bug where the compare-commits function would advance
      to a fake node (one representing local changes, either checked in
      but not committed, or not checked in) and then get an error when
      trying to get the patch-id.  This fixes it by only considering the
      real children of each commit.
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      aa43561a
    • P
      gitk: Show diff of commits at end of compare-commits output · c21398be
      Paul Mackerras 提交于
      When comparing a string of commits, when we find two non-merge commits
      that differ, we now write the two commits to files and diff the files.
      This pulls out the logic for creating a temporary directory from
      external_diff into a separate procedure so that the new diffcommits
      procedure can use it.
      
      Because the diff command returns an exit status of 1 when the files
      differ, and Tcl treats that as an error, this adds catch {} around the
      close statements in getblobdiffline.
      
      At present this only removes the temporary files when gitk exits.  It
      should remove them when the diff is done.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c21398be
  11. 07 9月, 2009 1 次提交
    • P
      gitk: Show diff of commits at end of compare-commits output · 4a3da5d9
      Paul Mackerras 提交于
      When comparing a string of commits, when we find two non-merge commits
      that differ, we now write the two commits to files and diff the files.
      This pulls out the logic for creating a temporary directory from
      external_diff into a separate procedure so that the new diffcommits
      procedure can use it.
      
      Because the diff command returns an exit status of 1 when the files
      differ, and Tcl treats that as an error, this adds catch {} around the
      close statements in getblobdiffline.
      
      At present this only removes the temporary files when gitk exits.  It
      should remove them when the diff is done.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      4a3da5d9
  12. 05 9月, 2009 2 次提交
  13. 14 8月, 2009 1 次提交
  14. 13 8月, 2009 4 次提交
    • T
      gitk: Parse arbitrary commit-ish in SHA1 field · 9bf3acfa
      Thomas Rast 提交于
      We only accepted either SHA1s or heads/tags that have been read.  This
      meant the user could not, e.g., enter HEAD to go back to the current
      commit.
      
      This adds code to call out to git rev-parse --verify if all other
      methods of interpreting the string the user entered fail.
      (git-rev-parse alone is not enough as we really want a single
      revision.)
      
      The error paths change slighly, because we now know from the rev-parse
      invocation whether the expression was valid at all.  The previous
      "unknown" path is now only triggered if the revision does exist, but
      is not in the current view display.
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      9bf3acfa
    • T
      gitk: Fix direction of symmetric difference in optimized mode · 2b1fbf90
      Thomas Rast 提交于
      ee66e089 (gitk: Make updates go faster, 2008-05-09) implemented an
      optimized mode where gitk parses the arguments with rev-parse, and
      manually reads history in chunks.  As mentioned in the commit message,
      symmetric differences are a problem there:
      
          One wrinkle is that we have to turn symmetric diff arguments (of the
          form a...b) back into symmetric diff form so that --left-right still
          works, as git rev parse turns a...b into a b ^merge_base(a,b).
      
      However, git-rev-parse returns a...b in the swapped order
      
          b a ^merge_base(a,b)
      
      This has been the case since at least 1f8115b1 (the state of master at
      the time of the abovementioned ee66e089; Merge branch 'maint',
      2008-05-08).  So gitk flipped the sides of symmetric differences
      whenever it was in optimized mode.
      
      Fix this by swapping the sides of the reconstruction code.
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      2b1fbf90
    • T
      gitk: New option to hide remote refs · ffe15297
      Thomas Rast 提交于
      In repositories with lots of remotes, looking at the history in gitk
      can be borderline insane with all the red labels for remote refs.
      Introduce a new option in the preferences that makes gitk ignore
      remote refs entirely, so they don't take up space in the display.
      Wished-for-by: NThell Fowler <tbfowler4@gmail.com>
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      ffe15297
    • J
      gitk: Do not hard-code "encoding" in attribute lookup functions · 097e1118
      Johannes Sixt 提交于
      Commit 39ee47ef (Clean up file encoding code and add enable/disable option,
      2008-10-15) rewrote the attribute lookup functions gitattr and
      cache_gitattr, but in the process hard-coded the attribute name "encoding"
      instead of using the functions' parameters. This fixes it.
      
      This is not a serious regression because currently all callers look only
      for "encoding".
      
      Further note that this fix assumes that future callers will not pass an
      attribute name that contains regex special characters.
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      097e1118