summaryrefslogtreecommitdiff
path: root/include/git2/status.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial implementation of gitignore supportRussell Belfer2012-01-111-5/+5
| | | | | | | | Adds support for .gitignore files to git_status_foreach() and git_status_file(). This includes refactoring the gitattributes code to share logic where possible. The GIT_STATUS_IGNORED flag will now be passed in for files that are ignored (provided they are not already in the index or the head of repo).
* Tabify everythingVicent Marti2011-09-191-7/+7
| | | | | | There were quite a few places were spaces were being used instead of tabs. Try to catch them all. This should hopefully not break anything. Except for `git blame`. Oh well.
* Cleanup legal dataVicent Marti2011-09-191-21/+3
| | | | | | | | | | 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.
* status: enhance determination of status for a single filenulltoken2011-09-151-1/+3
| | | | | | - fix retrieval of a file status when working against a newly initialized repository - reduce memory pressure - prevents a directory from being tested
* Standardized doxygen @return lines for int functions to say "GIT_SUCCESS or ↵David Boyce2011-09-131-2/+2
| | | | an error code".
* status: CleanupVicent Marti2011-07-091-12/+0
| | | | | | | | The `hashfile` function has been moved to ODB, next to `git_odb_hash`. Global state has been removed from the dirent call in `status.c`, because global state is killing the rainforest and causing global warming.
* status: get status for single fileJason Penny2011-07-091-0/+10
| | | | | Add git_status_file to be able to retrieve status of single file by supplying a path.
* status: get file statuses and run callbackJason Penny2011-07-091-0/+27
| | | | | Add git_status_foreach() to run a callback on each file passing the path and a status value.
* status: get blob object id of file on diskJason Penny2011-07-091-0/+54
Add git_status_hashfile() to get blob's object id for a file without adding it to the object database or needing a repository at all. This functionality is similar to `git hash-object` without '-w'.