todo wip
authorShane Jaroch <chown_tee@proton.me>
Sun, 11 Jan 2026 01:28:13 +0000 (20:28 -0500)
committerShane Jaroch <chown_tee@proton.me>
Sun, 11 Jan 2026 01:28:13 +0000 (20:28 -0500)
README.rst
TODO.rst [new file with mode: 0644]

index 736564f85ddeb2aa5ada111bcea6d513c3c131f8..2b59a800896d0d61d621148bf0d372919dd7a31f 100644 (file)
@@ -104,13 +104,6 @@ The following ``git-config(1)`` variables are supported:
     available secret key in turn until it finds a usable key.
     This can result in unnecessary passphrase prompts.
 
-``gcrypt.allow-unencrypted-remote``
-    Fail safe: by default, git-remote-gcrypt refuses to push to a remote
-    that appears to contain unencrypted files, to avoid exposing your data
-    or overwriting a non-gcrypt repository.
-
-    Setting this to ``true`` disables this safety check.
-
 ``gcrypt.gpg-args``
     The contents of this setting are passed as arguments to gpg.
     E.g. ``--use-agent``.
diff --git a/TODO.rst b/TODO.rst
new file mode 100644 (file)
index 0000000..f22980e
--- /dev/null
+++ b/TODO.rst
@@ -0,0 +1,35 @@
+
+Saturday, 1/10/26
+
+Q: Does the manifest
+
+The issue here is the second one is a valid, encrypted remote.
+The tool is doing too much work and providing dumb results, at times, by trying to be fancy and smart.
+
+.. code-block:: shell
+
+    shane@coffeelake:~/repos/git-remote-gcrypt$ cd -
+    /home/shane
+    direnv: loading ~/.envrc
+    direnv: export +RIPGREP_CONFIG_PATH +VIRTUAL_ENV +VIRTUAL_ENV_PROMPT ~PATH
+    shane@coffeelake:~$ git remote update
+    Fetching github
+    gcrypt: git-remote-gcrypt version 1.5-10-ge258c9e (deb running on arch)
+    gcrypt: ERROR: Remote repository contains unencrypted or unknown files!
+    gcrypt: To protect your privacy, git-remote-gcrypt will NOT push to this remote.
+    gcrypt: Found unexpected files: .bash_aliases .bash_exports .bash_history.coffeelake
+    gcrypt: To see unencrypted files, use: git-remote-gcrypt clean git@github.com:gamesguru/shane.git
+    gcrypt: To fix and remove these files, use: git-remote-gcrypt clean --force git@github.com:gamesguru/shane.git
+    error: could not fetch github
+
+    # This shouldn't warn, it's a valid encrypted remote!
+    Fetching origin
+    gcrypt: git-remote-gcrypt version 1.5-10-ge258c9e (deb running on arch)
+    gcrypt: ERROR: Remote repository is not empty!
+    gcrypt: To protect your privacy, git-remote-gcrypt will NOT push to this remote
+    gcrypt: unless you force it or clean it.
+    gcrypt: Found files: 91bd0c092128cf2e60e1a608c31e92caf1f9c1595f83f2890ef17c0e4881aa0a b5cb4d58020a8b6376ce627e3c4d2404a1e5bb772bd20eecedbe3ff9212d9aae ...
+    gcrypt: To see files: git-remote-gcrypt clean rsync://git@dev:repos/home.shane.git
+    gcrypt: To init anyway (DANGEROUS if not empty): git push --force ...
+    gcrypt: OR set gcrypt.allow-unencrypted-remote to true.
+    error: could not fetch origin