]> asedeno.scripts.mit.edu Git - git.git/blobdiff - git-filter-branch.sh
Revert 30816237 and 7e62265
[git.git] / git-filter-branch.sh
index 7c4ad7dcf9c29030ac5c40a0ef3820c8b0287f8a..e95845c0d6345ccc341d70d17431235197dfd967 100755 (executable)
@@ -462,11 +462,11 @@ if [ "$filter_tag_name" ]; then
                                                "$new_sha1" "$new_ref"
                                git cat-file tag "$ref" |
                                sed -n \
-                                   -e "1,/^$/{
+                                   -e '1,/^$/{
                                          /^object /d
                                          /^type /d
                                          /^tag /d
-                                       }" \
+                                       }' \
                                    -e '/^-----BEGIN PGP SIGNATURE-----/q' \
                                    -e 'p' ) |
                                git mktag) ||