git_diff_filter: List the files in the repo having a particular status

View source: R/functions.R

git_diff_filterR Documentation

List the files in the repo having a particular status

Description

Quoting from git documentation (git help diff): Select only files that are Added (A), Copied (C), Deleted (D), Modified (M), Renamed (R), have their type (i.e. regular file, symlink, submodule, ...) changed (T), are Unmerged (U), are Unknown (X), or have had their pairing Broken (B). Any combination of the filter characters (including none) can be used. When * (All-or-none) is added to the combination, all paths are selected if there is any file that matches other criteria in the comparison; if there is no file that matches other criteria, nothing is selected.

Usage

git_diff_filter(xx)

Arguments

xx

String containing one or more of A,C,D,M,R,T,U,X,B, or *


bokov/tidbits documentation built on Jan. 26, 2024, 6:25 p.m.