1. 03 May, 2012 2 commits
    • Support reading attributes from index · f917481e
      Depending on the operation, we need to consider gitattributes
      in both the work dir and the index.  This adds a parameter to
      all of the gitattributes related functions that allows user
      control of attribute reading behavior (i.e. prefer workdir,
      prefer index, only use index).
      
      This fix also covers allowing us to check attributes (and
      hence do diff and status) on bare repositories.
      
      This was a somewhat larger change that I hoped because it had
      to change the cache key used for gitattributes files.
      Russell Belfer committed
  2. 02 May, 2012 11 commits
  3. 01 May, 2012 2 commits
    • remote: don't free transport on disconnect · 42ea35c0
      Currently, git_remote_disconnect not only closes the connection but also
      frees the underlying transport object, making it impossible to write
      code like
      
      	// fetch stuff
      	git_remote_download()
      
      	// close connection
      	git_remote_disconnect()
      
      	// call user provided callback for each ref
      	git_remote_update_tips(remote, callback)
      
      because remote->refs points to references owned by the transport object.
      This means, we have an idling connection while running the callback for
      each reference.
      
      Instead, allow immediate disconnect and free the transport later in
      git_remote_free().
      Michael Schubert committed
  4. 30 Apr, 2012 8 commits
  5. 29 Apr, 2012 1 commit
  6. 28 Apr, 2012 3 commits
  7. 27 Apr, 2012 1 commit
  8. 26 Apr, 2012 4 commits
  9. 25 Apr, 2012 8 commits