1. 16 Mar, 2015 1 commit
  2. 10 Mar, 2015 1 commit
  3. 03 Mar, 2015 3 commits
    • config: borrow refcounted references · 9a97f49e
      This changes the get_entry() method to return a refcounted version of
      the config entry, which you have to free when you're done.
      
      This allows us to avoid freeing the memory in which the entry is stored
      on a refresh, which may happen at any time for a live config.
      
      For this reason, get_string() has been forbidden on live configs and a
      new function get_string_buf() has been added, which stores the string in
      a git_buf which the user then owns.
      
      The functions which parse the string value takea advantage of the
      borrowing to parse safely and then release the entry.
      Carlos Martín Nieto committed
    • repository: remove log message override for switching the active branch · 4e498646
      We want to use the "checkout: moving from ..." message in order to let
      git know when a change of branch has happened. Make the convenience
      functions for this goal write this message.
      Carlos Martín Nieto committed
    • Remove the signature from ref-modifying functions · 659cf202
      The signature for the reflog is not something which changes
      dynamically. Almost all uses will be NULL, since we want for the
      repository's default identity to be used, making it noise.
      
      In order to allow for changing the identity, we instead provide
      git_repository_set_ident() and git_repository_ident() which allow a user
      to override the choice of signature.
      Carlos Martín Nieto committed
  4. 27 Feb, 2015 1 commit
  5. 19 Feb, 2015 1 commit
  6. 05 Feb, 2015 1 commit
    • repo: ensure we can create repo at filesystem root · 865baaf9
      Test to ensure that we can create a repository at the filesystem
      root.  Introduces a new test environment variable,
      `GITTEST_INVASIVE_FILESYSTEM` for tests that do terrible things like
      escaping the clar sandbox and writing to the root directory.  It is
      expected that the CI builds will enable this but that normal people
      would not want this.
      Edward Thomson committed
  7. 03 Feb, 2015 1 commit
  8. 08 Jan, 2015 1 commit
  9. 27 Dec, 2014 1 commit
  10. 17 Dec, 2014 1 commit
  11. 08 Nov, 2014 1 commit
  12. 07 Nov, 2014 1 commit
    • iterator: submodules are determined by an index or tree · 62a617dc
      We cannot know from looking at .gitmodules whether a directory is a
      submodule or not. We need the index or tree we are comparing against to
      tell us. Otherwise we have to assume the entry in .gitmodules is stale
      or otherwise invalid.
      
      Thus we pass the index of the repository into the workdir iterator, even
      if we do not want to compare against it. This follows what git does,
      which even for `git diff <tree>`, it will consider staged submodules as
      such.
      Carlos Martín Nieto committed
  13. 17 Sep, 2014 1 commit
  14. 03 Sep, 2014 1 commit
  15. 08 Aug, 2014 1 commit
  16. 22 Jul, 2014 1 commit
  17. 01 Jul, 2014 1 commit
  18. 27 May, 2014 1 commit
  19. 15 May, 2014 1 commit
    • Better search path sandboxing · 8487e237
      There are a number of tests that modify the global or system
      search paths during the tests.  This adds a helper function to
      make it easier to restore those paths and makes sure that they
      are getting restored in a manner that preserves test isolation.
      Russell Belfer committed
  20. 11 Apr, 2014 1 commit
  21. 07 Apr, 2014 1 commit
  22. 19 Mar, 2014 3 commits
  23. 18 Mar, 2014 1 commit
  24. 17 Mar, 2014 2 commits
  25. 25 Feb, 2014 1 commit
  26. 20 Feb, 2014 1 commit
  27. 18 Feb, 2014 1 commit
  28. 07 Feb, 2014 1 commit
  29. 05 Feb, 2014 1 commit
  30. 03 Feb, 2014 1 commit
  31. 01 Feb, 2014 1 commit
  32. 30 Jan, 2014 4 commits