1. 14 Oct, 2011 1 commit
    • *: correct and codify various file permissions · 01ad7b3a
      The following files now have 0444 permissions:
      
      - loose objects
      - pack indexes
      - pack files
      - packs downloaded by fetch
      - packs downloaded by the HTTP transport
      
      And the following files now have 0666 permissions:
      
      - config files
      - repository indexes
      - reflogs
      - refs
      
      This brings libgit2 more in line with Git.
      
      Note that git_filebuf_commit() and git_filebuf_commit_at() have both
      gained a new mode parameter.
      
      The latter change fixes an important issue where filebufs created with
      GIT_FILEBUF_TEMPORARY received 0600 permissions (due to mkstemp(3)
      usage). Now we chmod() the file before renaming it into place.
      
      Tests have been added to confirm that new commit, tag, and tree
      objects are created with the right permissions. I don't have access to
      Windows, so for now I've guarded the tests with "#ifndef GIT_WIN32".
      Brodie Rao committed
  2. 18 Sep, 2011 1 commit
    • Cleanup legal data · bb742ede
      1. The license header is technically not valid if it doesn't have a
      copyright signature.
      
      2. The COPYING file has been updated with the different licenses used in
      the project.
      
      3. The full GPLv2 header in each file annoys me.
      Vicent Marti committed
  3. 18 Aug, 2011 1 commit
  4. 17 Jun, 2011 1 commit
  5. 20 May, 2011 1 commit
  6. 19 May, 2011 1 commit
  7. 17 May, 2011 1 commit
  8. 10 May, 2011 1 commit
    • Move config to a backend structure · c0335005
      Configuration options can come from different sources. Currently,
      there is only support for reading them from a flat file, but it might
      make sense to read it from a database at some point.
      
      Move the parsing code into src/config_file.c and create an include
      file include/git2/config_backend.h to allow for other backends to be
      developed.
      
      Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
      Carlos Martín Nieto committed
  9. 05 May, 2011 1 commit
    • config: store the section name separately · 094aaaae
      The section and variable names use different rules, so store them as
      two different variables internally.
      
      This will simplify the configuration-writing code as well later on,
      but even with parsing, the code is simpler.
      
      Take this opportunity to add a variable to the list directly when
      parsing instead of passing through config_set.
      Carlos Martín Nieto committed
  10. 07 Apr, 2011 1 commit
  11. 06 Apr, 2011 1 commit
  12. 31 Mar, 2011 1 commit
  13. 30 Mar, 2011 3 commits
  14. 29 Mar, 2011 2 commits
  15. 28 Mar, 2011 1 commit