1. 01 Dec, 2015 2 commits
  2. 25 Nov, 2015 7 commits
  3. 04 Nov, 2015 1 commit
  4. 02 Nov, 2015 1 commit
  5. 22 Oct, 2015 1 commit
    • index: test that we round-trip nsecs · 99a09f7f
      Test that nanoseconds are round-tripped correctly when we read
      an index file that contains them.  We should, however, ignore them
      because we don't understand them, and any new entries in the index
      should contain a `0` nsecs field, while existing preserving entries.
      Edward Thomson committed
  6. 18 Sep, 2015 1 commit
  7. 22 Jun, 2015 4 commits
  8. 31 May, 2015 1 commit
  9. 21 Apr, 2015 2 commits
  10. 25 Mar, 2015 1 commit
  11. 16 Mar, 2015 1 commit
  12. 03 Feb, 2015 1 commit
  13. 20 Jan, 2015 2 commits
  14. 08 Jan, 2015 1 commit
  15. 22 Dec, 2014 1 commit
  16. 16 Dec, 2014 2 commits
    • checkout: disallow bad paths on HFS · 11d67b75
      HFS filesystems ignore some characters like U+200C.  When these
      characters are included in a path, they will be ignored for the
      purposes of comparison with other paths.  Thus, if you have a ".git"
      folder, a folder of ".git<U+200C>" will also match.  Protect our
      ".git" folder by ensuring that ".git<U+200C>" and friends do not match it.
      Edward Thomson committed
    • checkout: disallow bad paths on win32 · a64119e3
      Disallow:
       1. paths with trailing dot
       2. paths with trailing space
       3. paths with trailing colon
       4. paths that are 8.3 short names of .git folders ("GIT~1")
       5. paths that are reserved path names (COM1, LPT1, etc).
       6. paths with reserved DOS characters (colons, asterisks, etc)
      
      These paths would (without \\?\ syntax) be elided to other paths - for
      example, ".git." would be written as ".git".  As a result, writing these
      paths literally (using \\?\ syntax) makes them hard to operate with from
      the shell, Windows Explorer or other tools.  Disallow these.
      Edward Thomson committed
  17. 27 Oct, 2014 3 commits
  18. 26 Oct, 2014 1 commit
  19. 13 Oct, 2014 1 commit
  20. 09 Oct, 2014 2 commits
  21. 04 Oct, 2014 1 commit
  22. 18 Aug, 2014 2 commits
  23. 30 Apr, 2014 1 commit
    • tests: Add "describe" test repository · 4cc71bb7
      Built with the following script:
      
      	#!/bin/sh
      
      	test_tick () {
      		sleep 10
      	}
      
      	test_tick &&
      	echo one >file && git add file && git commit -m initial &&
      	one=$(git rev-parse HEAD) &&
      
      	git describe --always HEAD &&
      
      	test_tick &&
      	echo two >file && git add file && git commit -m second &&
      	two=$(git rev-parse HEAD) &&
      
      	test_tick &&
      	echo three >file && git add file && git commit -m third &&
      
      	test_tick &&
      	echo A >file && git add file && git commit -m A &&
      	test_tick &&
      	git tag -a -m A A &&
      
      	test_tick &&
      	echo c >file && git add file && git commit -m c &&
      	test_tick &&
      	git tag c &&
      
      	git reset --hard $two &&
      	test_tick &&
      	echo B >side && git add side && git commit -m B &&
      	test_tick &&
      	git tag -a -m B B &&
      
      	test_tick &&
      	git merge -m Merged c &&
      	merged=$(git rev-parse HEAD) &&
      
      	git reset --hard $two &&
      	test_tick &&
      	echo D >another && git add another && git commit -m D &&
      	test_tick &&
      	git tag -a -m D D &&
      	test_tick &&
      	git tag -a -m R R &&
      
      	test_tick &&
      	echo DD >another && git commit -a -m another &&
      
      	test_tick &&
      	git tag e &&
      
      	test_tick &&
      	echo DDD >another && git commit -a -m "yet another" &&
      
      	test_tick &&
      	git merge -m Merged $merged &&
      
      	test_tick &&
      	echo X >file && echo X >side && git add file side &&
      	git commit -m x
      nulltoken committed