This project is mirrored from Updated .
  1. 23 Aug, 2013 1 commit
    • Eric Sunshine's avatar
      dir.c::test_one_path(): work around directory_exists_in_index_icase() breakage · 680be044
      Eric Sunshine authored
      directory_exists_in_index() takes pathname and its length, but its
      helper function directory_exists_in_index_icase() reads one byte
      beyond the end of the pathname and expects there to be a '/'.
      This needs to be fixed, as that one-byte-beyond-the-end location may
      not even be readable, possibly by not registering directories to
      name hashes with trailing slashes.  In the meantime, update the new
      caller added recently to treat_one_path() to make sure that the path
      buffer it gives the function is one byte longer than the path it is
      asking the function about by appending a slash to it.
      Signed-off-by: Eric Sunshine's avatarEric Sunshine <[email protected]>
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
  2. 15 Aug, 2013 1 commit
  3. 01 Jul, 2013 1 commit
    • Junio C Hamano's avatar
      treat_directory(): do not declare submodules to be untracked · 26c986e1
      Junio C Hamano authored
      When the working tree walker encounters a directory, it asks the
      function treat_directory() if it should descend into it, show it as
      an untracked directory, or do something else.  When the directory is
      the top of the submodule working tree, we used to say "That is an
      untracked directory", which was bogus.
      It is an entity that is tracked in the index of the repository we
      are looking at, and that is not to be descended into it.  Return
      path_none, not path_untracked, to report that.
      The existing case that path_untracked is returned for a newly
      discovered submodule that is not tracked in the index (this only
      happens when DIR_NO_GITLINKS option is not used) is unchanged, but
      that is exactly because the submodule is not tracked in the index.
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
  4. 07 Jun, 2013 2 commits
  5. 22 Mar, 2009 1 commit
    • Johannes Sixt's avatar
      Use prerequisite tags to skip tests that depend on symbolic links · 704a3143
      Johannes Sixt authored
      Many tests depend on that symbolic links work.  This introduces a check
      that sets the prerequisite tag SYMLINKS if the file system supports
      symbolic links.  Since so many tests have to check for this prerequisite,
      we do the check in, so that we don't need to repeat the test
      in many scripts.
      To check for 'ln -s' failures, you can use a FAT partition on Linux:
      $ mkdosfs -C git-on-fat 1000000
      $ sudo mount -o loop,uid=j6t,gid=users,shortname=winnt git-on-fat /mnt
      Clone git to /mnt and
      $ GIT_SKIP_TESTS='t0001.1[34] t0010 t1301 t403[34] t4129.[47] t5701.7
                t7701.3 t9100 t9101.26 t9119 t9124.[67] t9200.10 t9600.6' \
              make test
      (These additionally skipped tests depend on POSIX permissions that FAT on
      Linux does not provide.)
      Signed-off-by: default avatarJohannes Sixt <[email protected]>
  6. 17 Mar, 2009 1 commit
  7. 03 Jul, 2007 1 commit
  8. 20 Sep, 2005 1 commit
    • Junio C Hamano's avatar
      Show modified files in git-ls-files · b0391890
      Junio C Hamano authored
      Add -m/--modified to show files that have been modified wrt. the index.
      [jc: The original came from Brian Gerst on Sep 1st but it only checked
      if the paths were cache dirty without actually checking the files were
      modified.  I also added the usage string and a new test.]
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
  9. 08 Sep, 2005 1 commit
    • Junio C Hamano's avatar
      Big tool rename. · 215a7ad1
      Junio C Hamano authored
      As promised, this is the "big tool rename" patch.  The primary differences
      since 0.99.6 are:
        (1) git-*-script are no more.  The commands installed do not
            have any such suffix so users do not have to remember if
            something is implemented as a shell script or not.
        (2) Many command names with 'cache' in them are renamed with
            'index' if that is what they mean.
      There are backward compatibility symblic links so that you and
      Porcelains can keep using the old names, but the backward
      compatibility support  is expected to be removed in the near
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
  10. 14 May, 2005 2 commits
    • Petr Baudis's avatar
      Rename some test scripts and describe the naming convention · f50c9f76
      Petr Baudis authored
      First digit: "family", e.g. the absolute basics and global stuff (0),
      the basic db-side commands (read-tree, write-tree, commit-tree), the
      basic working-tree-side commands (checkout-cache, update-cache), the
      other basic commands (ls-files), the diff commands, the pull commands,
      exporting commands, revision tree commands...
      Second digit: the particular command we are testing
      Third digit: (optionally) the particular switch or group of switches
      we are testing
      Freeform part: commandname-details
      Described in the README.
    • Junio C Hamano's avatar
      [PATCH 2/2] The core GIT tests: recent additions and fixes. · 368f99d5
      Junio C Hamano authored
      This set of scripts are designed to test the features and fixes
      we recently added to core GIT.  The convention to call test
      helper function has been changed during the framework cleanup
      (take two), and these tests have been updated to use the cleaned
      up interface.
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      Note that this does not include the script since it
      tests a patch which was not applied yet.
      Signed-off-by: Petr Baudis's avatarPetr Baudis <[email protected]>