jj/cli
Stephen Jennings 03b6d380f5 git: add git.private-commits setting for preventing commits from being pushed
The user can define the setting `git.private-commits` as they desire. For
example:

    git.private-commits = 'description(glob:"wip:*")'

If any commits are in this revset, then the push is aborted.

If a commit would be private but already exists on the remote, then it does
not block pushes, nor do its descendents block pushes unless they are also
contained in `git.private-commits`.

Closes #3376
2024-07-23 08:45:51 -07:00
..
examples copy-tracking: stub get_copy_records 2024-07-03 20:26:30 -04:00
src git: add git.private-commits setting for preventing commits from being pushed 2024-07-23 08:45:51 -07:00
testing cli: skip formatting instructions if not required 2024-07-09 20:24:14 -05:00
tests git: add git.private-commits setting for preventing commits from being pushed 2024-07-23 08:45:51 -07:00
build.rs build: update rerun-if conditions to watch .git/HEAD in colocated repo 2023-08-06 12:16:11 +09:00
Cargo.toml cli: remove unused dependency on gix-filter 2024-07-17 11:53:51 +02:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00