Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
``rsync://`` backend. If the flags are set to a specific remote, the
global flags, if also set, will not be applied for that remote.
-``remote.<name>.gcrypt-force-required``
+``remote.<name>.gcrypt-require-explicit-force-push``
..
-``gcrypt.force-required``
+``gcrypt.require-explicit-force-push``
A known issue is that every git push effectively has a ``--force``.
By default, git-remote-gcrypt will warn the user of this known issue
Conf_gpg_args=$(git config --get gcrypt.gpg-args '.+' || :)
Conf_rsync_put_flags=$(git config --get "remote.$NAME.gcrypt-rsync-put-flags" '.+' ||
git config --get "gcrypt.rsync-put-flags" '.+' || :)
- Conf_force_required=$(git config --get --bool "remote.$NAME.gcrypt-force-required" '.+' ||
- git config --get --bool gcrypt.force-required '.+' || :)
+ Conf_force_required=$(git config --get --bool "remote.$NAME.gcrypt-require-explicit-force-push" '.+' ||
+ git config --get --bool gcrypt.require-explicit-force-push '.+' || :)
# Figure out which keys we should encrypt to or accept signatures from
if isnull "$conf_part" || iseq "$conf_part" simple