userland/git: --version and commit --no-gpg-sign (no-op)
This commit is contained in:
@@ -131,6 +131,9 @@ enum Command {
|
||||
all: bool,
|
||||
#[arg(long)]
|
||||
allow_empty: bool,
|
||||
/// Accepted for compatibility. This git never signs commits.
|
||||
#[arg(long)]
|
||||
no_gpg_sign: bool,
|
||||
},
|
||||
Log {
|
||||
#[arg(long)]
|
||||
@@ -340,6 +343,7 @@ pub fn run(cli: Cli) -> Result<i32> {
|
||||
message,
|
||||
all,
|
||||
allow_empty,
|
||||
..
|
||||
} => {
|
||||
let before = head_info(&repository)?;
|
||||
if !allow_empty && merge::pending_parent(&repository)?.is_none() {
|
||||
|
||||
Reference in New Issue
Block a user