Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- (#1461): added `!` revset postfix operator as shortcut for "only child"
- (#1464): created `git split` command to extract changes from a commit
- (#1603): added `git move --dry-run` to test in-memory rebases
- (#1604): `git record` and `git amend` can now automatically detect and begin tracking new files (optional, disabled by default)
- (#1632): added `git record --fixup` option, to create a fixup commit (similar to `reword --fixup`)

### Changed
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions git-branchless-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ async-trait = { workspace = true }
bstr = { workspace = true }
chashmap = { workspace = true }
chrono = { workspace = true }
clap = { workspace = true }
color-eyre = { workspace = true }
concolor = { workspace = true }
console = { workspace = true }
Expand Down
5 changes: 5 additions & 0 deletions git-branchless-lib/src/core/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ pub const RESTACK_WARN_ABANDONED_CONFIG_KEY: &str = "branchless.restack.warnAban
/// Possible hint types.
#[derive(Clone, Debug)]
pub enum Hint {
/// Suggest running `git add` on skipped, untracked files, which are never
/// automatically reconsidered for tracking.
AddSkippedFiles,

/// Suggest running `git test clean` in order to clean cached test results.
CleanCachedTestResults,

Expand All @@ -269,6 +273,7 @@ pub enum Hint {
impl Hint {
fn get_config_key(&self) -> &'static str {
match self {
Hint::AddSkippedFiles => "branchless.hint.addSkippedFiles",
Hint::CleanCachedTestResults => "branchless.hint.cleanCachedTestResults",
Hint::MoveImplicitHeadArgument => "branchless.hint.moveImplicitHeadArgument",
Hint::RestackWarnAbandoned => "branchless.hint.restackWarnAbandoned",
Expand Down
1 change: 1 addition & 0 deletions git-branchless-lib/src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ pub mod node_descriptors;
pub mod repo_ext;
pub mod rewrite;
pub mod task;
pub mod untracked_file_cache;
Loading
Loading