1. 01 8月, 2012 1 次提交
    • J
      Merge branch 'jx/i18n-1.7.11' · 5fe1484a
      Junio C Hamano 提交于
      Add i18n support for scripted Porcelains, and mark strings in
      merge(-recursive), am, and rebase for i18n.
      
      * jx/i18n-1.7.11:
        i18n: merge-recursive: mark strings for translation
        Remove dead code which contains bad gettext block
        i18n: am: mark more strings for translation
        rebase: remove obsolete and unused LONG_USAGE which breaks xgettext
        i18n: Rewrite gettext messages start with dash
        i18n: rebase: mark messages for translation
        i18n: New keywords for xgettext extraction from sh
      5fe1484a
  2. 31 7月, 2012 15 次提交
  3. 30 7月, 2012 4 次提交
    • R
      t7810-*.sh: Remove redundant test · 4ca94538
      Ramsay Jones 提交于
      Since commit bbc09c22 ("grep: rip out support for external grep",
      12-01-2010), test number 60 ("grep -C1 hunk mark between files") is
      essentially the same as test number 59.
      
      Test 59 was intended to verify the behaviour of git-grep resulting
      from multiple invocations of an external grep. As part of the test,
      it creates and adds 1024 files to the index, which is now wasted
      effort.
      
      Remove test 59, since it is now redundant.
      Signed-off-by: NRamsay Jones <ramsay@ramsay1.demon.co.uk>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4ca94538
    • R
      t1100-*.sh: Fix an intermittent test failure · 425b8a22
      Ramsay Jones 提交于
      In particular, the final test ('flags and then non flags') fails
      intermittently, depending on how much time elapsed between the
      invocations of "git commit-tree" when creating the commits which
      later have their commit id's compared. For example, if the commits
      for childid-3 and childid-4 are created 1 or more seconds apart,
      then the commits, which would otherwise be identical, will have
      different commit id's.
      
      In order to make the test reproducible, we remove the variability
      by setting the author and committer times to a well defined state.
      We accomplish this with a single call to 'test_tick' at the start
      of the test.
      Signed-off-by: NRamsay Jones <ramsay@ramsay1.demon.co.uk>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      425b8a22
    • H
      link_alt_odb_entry: fix read over array bounds reported by valgrind · cb2912c3
      Heiko Voigt 提交于
      pfxlen can be longer than the path in objdir when relative_base
      contains the path to gits object directory.  Here we are interested
      in checking if ent->base[] (the part that corresponds to .git/objects)
      is the same string as objdir, and the code NUL-terminated ent->base[]
      to
      
      	LEADING PATH\0XX/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\0
      
      in preparation for these "duplicate check" step (before we return
      from the function, the first NUL is turned into '/' so that we can
      fill XX when probing for loose objects).  All we need to do is to
      compare the string with the path to our object directory.
      Signed-off-by: NHeiko Voigt <hvoigt@hvoigt.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      cb2912c3
    • J
      t: add missing executable bit to t7409 · 07a71b85
      Jeff King 提交于
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      07a71b85
  4. 28 7月, 2012 20 次提交