]> git.proxmox.com Git - libgit2.git/commit - src/attr_file.h
Add support for pathspec to diff and status
authorRussell Belfer <rb@github.com>
Fri, 13 Apr 2012 22:00:29 +0000 (15:00 -0700)
committerRussell Belfer <rb@github.com>
Fri, 13 Apr 2012 22:00:29 +0000 (15:00 -0700)
commit14a513e05866721f5ceba18cf425568d2f6af143
tree4c31553a2c971adf579d2c5c287749ce45949c8c
parentd1f331564da9d6110b80b538a501da0c66e59142
Add support for pathspec to diff and status

This adds preliminary support for pathspecs to diff and status.
The implementation is not very optimized (it still looks at
every single file and evaluated the the pathspec match against
them), but it works.
include/git2/common.h
src/attr_file.c
src/attr_file.h
src/diff.c
src/diff.h
src/status.c
src/util.c
tests-clar/attr/file.c
tests-clar/diff/workdir.c