newren/git-filter-repo

"--dry-run" should skip sanity checks

Open

#489 geöffnet am 4. Juli 2023

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (674 Forks)batch import
good first issue

Repository-Metriken

Stars
 (6.745 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 44T 2h) (1 gemergte PR in 30 T)

Beschreibung

Microsoft Windows [Version 10.0.19045.3155]
(c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

D:\Sources.MW\tmp\addservice> git filter-repo --to-subdirectory-filter Plugins/AddServices --dry-run --tag-rename '':'AddService-'
Aborting: Refusing to destructively overwrite repo history since
this does not look like a fresh clone.
  (expected freshly packed repo)
Please operate on a fresh clone instead.  If you want to proceed
anyway, use --force.

Ahem... Thanks for catching me in the rye, but i did specify --dry-run exactly too keep myself from harm.

And also, --force --dry-run looks plain silly :-)

Contributor Guide