diff options
| author | Junio C Hamano <gitster@pobox.com> | 2013-07-17 15:05:46 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2013-07-17 16:23:34 -0700 |
| commit | 1ecc1cbd3a7642c4f517d086d7b45d6341172dfe (patch) | |
| tree | 33743a44c6b9c89d7688f0a00512c45e523f6f5e /diff-no-index.c | |
| parent | diff: factor out match_filter() (diff) | |
| download | git-1ecc1cbd3a7642c4f517d086d7b45d6341172dfe.tar.gz git-1ecc1cbd3a7642c4f517d086d7b45d6341172dfe.zip | |
diff: preparse --diff-filter string argument
Instead of running strchr() on the list of status characters over
and over again, parse the --diff-filter option into bitfields and
use the bits to see if the change to the filepair matches the status
requested.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-no-index.c')
0 files changed, 0 insertions, 0 deletions
