pub struct CommitConfig {
pub auto_stage: Vec<String>,
}Expand description
Commit auto-staging configuration (v0.14.3.7).
Files in auto_stage (and the built-in lock file list) are staged
automatically during ta draft apply --git-commit even when they
are not in the draft’s artifact list.
Fields§
§auto_stage: Vec<String>Additional files or glob patterns to auto-stage alongside draft apply commits.
Merged with the built-in lock file list:
Cargo.lock, package-lock.json, go.sum, Pipfile.lock,
poetry.lock, yarn.lock, bun.lockb, flake.lock.
Each entry is matched against working-tree paths using simple glob rules.
Trait Implementations§
Source§impl Clone for CommitConfig
impl Clone for CommitConfig
Source§fn clone(&self) -> CommitConfig
fn clone(&self) -> CommitConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommitConfig
impl Debug for CommitConfig
Source§impl Default for CommitConfig
impl Default for CommitConfig
Source§fn default() -> CommitConfig
fn default() -> CommitConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommitConfig
impl<'de> Deserialize<'de> for CommitConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CommitConfig
impl RefUnwindSafe for CommitConfig
impl Send for CommitConfig
impl Sync for CommitConfig
impl Unpin for CommitConfig
impl UnsafeUnpin for CommitConfig
impl UnwindSafe for CommitConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more