1. 28 Feb, 2010 1 commit
  2. 20 Jan, 2010 3 commits
  3. 16 Jun, 2009 1 commit
    • Add noreturn declaration compatible with the MSVC compiler. · 73c4dd92
      MSVC provides a compiler declaration to declare that a function
      never returns. This declaration is required in front of the
      function definition rather than at the end, but fortunately gcc
      is compatible with this location as well.
      
      Explicit returns are no longer required after calls to test_die.
      
      Signed-off-by: Julio Espinoza-Sokal <julioes@gmail.com>
      Signed-off-by: Andreas Ericsson <ae@op5.se>
      Julio Espinoza-Sokal committed
  4. 05 Jun, 2009 1 commit
  5. 30 Mar, 2009 1 commit
    • t0020-dirent.c: allow test to be run standalone · 498bc090
      This test assumed that it was invoked in an empty directory,
      which is true when run from the Makefile, and so would fail
      if run standalone. In order to allow the test to work when
      run from any directory, create a sub directory "dir-walk"
      and chdir() into this directory while running the tests.
      
      Also, add some additional tests.
      
      Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
      Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
      Ramsay Jones committed
  6. 31 Dec, 2008 1 commit
    • Rewrite git_foreach_dirent into gitfo_dirent · 5690f02e
      Our fileops API is currently private.  We aren't planning on supplying
      a cross-platform file API to applications that link to us.  If we did,
      we'd probably whole-sale publish fileops, not just the dirent code.
      
      By moving it to be private we can also change the call signature to
      permit the buffer to be passed down through the call chain.  This is
      very helpful when we are doing a recursive scan as we can reuse just
      one buffer in all stack frames, reducing the impact the recursion has
      on the stack frames in the data cache.
      
      Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
      Shawn O. Pearce committed