1. 31 Mar, 2013 2 commits
    • revwalk tests: better diagram of example repo · 06e6eab0
      The purported command output was already inaccurate, as the refs
      aren't where it shows.  In any event, the labels a reader of this
      file really needs are the indices used in commit_sorting_*, to make
      it possible to understand them by referring directly from those
      arrays to the diagram rather than from the index arrays, to commit_ids,
      to the diagram.  Add those.
      
      Signed-off-by: Greg Price <price@mit.edu>
      Greg Price committed
    • Fix puzzling doc comment · 804c5f56
      Signed-off-by: Greg Price <price@mit.edu>
      Greg Price committed
  2. 05 Mar, 2013 5 commits
  3. 03 Mar, 2013 5 commits
  4. 02 Mar, 2013 4 commits
  5. 01 Mar, 2013 8 commits
  6. 28 Feb, 2013 4 commits
  7. 27 Feb, 2013 8 commits
  8. 26 Feb, 2013 4 commits
    • Fix portability issues on Windows · 0d1b094b
      The new tests were not taking core.filemode into account when
      testing file modes after repo initialization.  Fixed that and some
      other Windows warnings that have crept in.
      Russell Belfer committed
    • Fix initialization of repo directories · 3c42e4ef
      When PR #1359 removed the hooks from the test resources/template
      directory, it made me realize that the tests for
      git_repository_init_ext using templates must be pretty shabby
      because we could not have been testing if the hooks were getting
      created correctly.
      
      So, this started with me recreating a couple of hooks, including
      a sample and symlink, and adding tests that they got created
      correctly in the various circumstances, including with the SHARED
      modes, etc.  Unfortunately this uncovered some issues with how
      directories and symlinks were copied and chmod'ed.  Also, there
      was a FIXME in the code related to the chmod behavior as well.
      
      Going back over the directory creation logic for setting up a
      repository, I found it was a little difficult to read and could
      result in creating and/or chmod'ing directories that the user
      almost certainly didn't intend.
      
      So that let to this work which makes repo initialization much
      more careful (and hopefully easier to follow).  It required a
      couple of extensions / changes to core fileops utilities, but I
      also think those are for the better, at least for git_futils_cp_r
      in terms of being careful about what actions it takes.
      Russell Belfer committed
    • Merge pull request #1368 from scunz/inc_ref · 69903777
      Increment reference counter in git_repository_set_config
      Vicent Martí committed
    • Increment reference counter in git_repository_set_config · 25e7c9b7
      This fixes #1365
      Sascha Cunz committed