1. 29 5月, 2018 1 次提交
  2. 18 10月, 2016 1 次提交
  3. 12 8月, 2016 1 次提交
  4. 18 10月, 2013 1 次提交
    • S
      t4254: modernize tests · ddeaf7ef
      SZEDER Gábor 提交于
      - Don't start tests with 'test $? = 0' to catch preparation done
        outside the test_expect_success block.
      
      - Move writing the bogus patch and the expected output into the
        appropriate test_expect_success blocks.
      
      - Use the test_must_fail helper instead of manually checking for
        non-zero exit code.
      
      - Use the debug-friendly test_path_is_file helper instead of 'test -f'.
      
      - No space after '>'.
      Signed-off-by: NSZEDER Gábor <szeder@ira.uka.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ddeaf7ef
  5. 13 10月, 2011 1 次提交
    • J
      fix "git apply --index ..." not to deref NULL · 2c93286a
      Jim Meyering 提交于
      I noticed this when "git am CORRUPTED" unexpectedly failed with an
      odd diagnostic, and even removed one of the files it was supposed
      to have patched.
      
      Reproduce with any valid old/new patch from which you have removed
      the "+++ b/FILE" line.  You'll see a diagnostic like this
      
          fatal: unable to write file '(null)' mode 100644: Bad address
      
      and you'll find that FILE has been removed.
      
      The above is on glibc-based systems.  On other systems, rather than
      getting "null", you may provoke a segfault as git tries to
      dereference the NULL file name.
      Signed-off-by: NJim Meyering <meyering@redhat.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2c93286a