Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting remote branches should not run the pre-push hook #204

Open
jyn514 opened this issue Feb 25, 2023 · 2 comments · May be fixed by #207
Open

Deleting remote branches should not run the pre-push hook #204

jyn514 opened this issue Feb 25, 2023 · 2 comments · May be fixed by #207

Comments

@jyn514
Copy link

jyn514 commented Feb 25, 2023

Describe the bug
git trim --delete 'remote:foo' can fail if the pre-push hook returns an error.

To Reproduce

  1. echo false > .git/hooks/pre-push && chmod +x .git/hooks/pre-push
  2. git trim --delete remote:origin

Expected behavior
The branches are deleted.

Actual behaviour
The hook fails:

Confirm? yes
Running pre-push script /home/jyn/src/rust/rust/x test tidy
Building bootstrap
    Finished dev [unoptimized] target(s) in 0.34s
Building tool tidy (stage0)
   Compiling tidy v0.1.0 (/home/jyn/src/rust/rust/src/tools/tidy)
    Finished release [optimized + debuginfo] target(s) in 2.41s
fmt check
skip untracked path bacon.toml during rustfmt invocations
skip untracked path compiler/rustc_incremental/src/persist/sqlite.rs during rustfmt invocations
skip untracked path perf/ during rustfmt invocations
skip untracked path profile_summary.txt during rustfmt invocations
skip untracked path rustc_query_impl-llvm.txt during rustfmt invocations
skip untracked path rustc_query_impl.summary during rustfmt invocations
skip untracked path signal-desktop-keyring.gpg during rustfmt invocations
tidy check
Found 505 error codes
Highest error code: `E0793`
tidy error: /home/jyn/src/rust/rust/compiler/rustc_incremental/src/persist/sqlite.rs: too many trailing newlines (2)
Current version of x is 0.1.0, but the latest version is 0.1.1
Consider updating to the newer version of x by running `cargo install --path src/tools/x`
* 397 features
some tidy checks failed
Build completed unsuccessfully in 0:00:11
error: failed to push some refs to 'github.com:jyn514/rust'
Error: Operation not permitted (os error 1)

Additional context and logs & dumps if necessary
You should remove sensitive informations before put them here.

  • OS: Linux pop-os 6.0.6-76060006-generic x86_64
  • Version: 0.4.4
  • git rev-parse --abbrev-ref HEAD: HEAD
  • git show-ref:
> git show-ref
6d388a4ee33771784137d04186a5070df6f9f0cc refs/heads/clean-crates
9709a438721d679572f0f7c389cd1fa60922fbef refs/heads/docs
ddc7e4bedb57148ea991d0197c91e0ff27cc5d97 refs/heads/faster-thread-local
af3e06f1bf4ca49407562b1b84744e27905bea98 refs/heads/master
5243ea5c29b136137c36bd773e5baa663790e097 refs/heads/merged
e5c8aeb45fcfad36d2c93310effc7bca3d5624c5 refs/heads/print-paths
855d788910f2faad8c80b966eb51b86b0a011999 refs/heads/rename-mode
f1cdfb4056f568c04e888e67119f357c0f475537 refs/heads/rust2
aad606bce4ddc1c385436f81dacc9c41d47a8f41 refs/heads/sqlite
ab1298ed3e13e5cccb6cc1c94a81d11c788b39d4 refs/remotes/origin/92745/rustdoc-semantic-ids
dcca6a375bd4eddb3deea7038ebf29d02af53b48 refs/remotes/origin/HEAD
003b6f24e6a01a7df79c276d6d41aff6b4845d76 refs/remotes/origin/beta
dcca6a375bd4eddb3deea7038ebf29d02af53b48 refs/remotes/origin/master
52beaafdccb9f002eafd9745ccd6127ec817d6fd refs/remotes/origin/revert-105395-sunfishcode/update-wasi
03534fa6519685d484cf3694894003a78276c362 refs/remotes/origin/revert-98576-region-stuff-cool-beans
d5a82bbd26e1ad8b7401f6a718a9c57c96905483 refs/remotes/origin/stable
4e8aae3f1698b882df03fc6722e74e1de8d5f756 refs/remotes/personal/ahash
11fe2cd54c0cbda8b890a0afbd414a3eb84ad122 refs/remotes/personal/ambiguity-error
e8f4b82259c2c7e337e9f9063429d1361195e15f refs/remotes/personal/ambiguous-assoc-item
f2743a5db756bfdbe311815fa25a5a3e3fa92b95 refs/remotes/personal/array
c71ea0e22bb09219601ae313bda8e762384d85c0 refs/remotes/personal/ast-visitor
bfb3afe893ceea7451340a373da2dfc7b0e361a6 refs/remotes/personal/autolabel
0d80773833ff1abe83bb93d6813bc5bb839843fe refs/remotes/personal/automatic-logging
c47f73bbe1306d1571292ca126c31f8514a1d8e6 refs/remotes/personal/better-errors
3c063b3d8df529413502de361a33c6e0739d2af1 refs/remotes/personal/better-errors-target-compiler
33b0c5bebfaa5e15d7c3f1429d1aef0bed6e4342 refs/remotes/personal/better-python-error-message
028fd634bbf5253b1c1455e341e9b91424c44f39 refs/remotes/personal/bootstrap-color
2f287d6a3e200197919e5372ac74abb66ce038ad refs/remotes/personal/bootstrap-doctests
7f974d0aae1a6bf7c8211b6cbd80a4f21606280e refs/remotes/personal/bootstrap-times
54d7cb77fa1d9dcf45674d6b836b6a6362f72e92 refs/remotes/personal/broke-submodules
d0011b0c057d39dd9a6a1a671a22aad43b38535c refs/remotes/personal/build-single-crate
6f1d9ba581dbf1282825e87424021d8c4cb7ba54 refs/remotes/personal/bump-stage-date
c6f4eed45c940ed214cc377505aea9bb7d9f8df2 refs/remotes/personal/check-all-targets
4b16031d18babad16d871397138123322f9ecb2c refs/remotes/personal/check-dead-links
f5fb293295241e64d745ed63da5c603eed0ebc22 refs/remotes/personal/clarify-python-search-logic
6d388a4ee33771784137d04186a5070df6f9f0cc refs/remotes/personal/clean-crates
23d3ee81867ae0532e24b1ccbfa857d11066173b refs/remotes/personal/clippy
7443cc2bd66a79aa5a624e11b9b0172e56c2da48 refs/remotes/personal/compiler-docs-default
76c2973808366ec86ebc6a91cd9c17bc81d7dfec refs/remotes/personal/compiletest
4151a5b96cb4707bb0b09037bacc58ade1940fa2 refs/remotes/personal/configure.py
c8c849ef5c4932d5aec5ba6dbf936d3d18856f71 refs/remotes/personal/consistent-progress
81e2c112d92f7cf5bc342641b356962b2d1ae2e5 refs/remotes/personal/consolidate-install
96b0446b538a160c83ade3d9e5e9d2203868492d refs/remotes/personal/const-since
0b3ffcbb0beed7bc0be168dadbff2904b85d3666 refs/remotes/personal/cranelift-std
4a217c2eb5d60fc7b203d131da2e5b6d4f728a72 refs/remotes/personal/crate-specific-resolve
c66d4d33e45594b175ec294a9482599376edd0d3 refs/remotes/personal/debuginfo-defaults
6f5de285eb093260a7a60664adc0683c86fa40d5 refs/remotes/personal/dist-ra
70a0e0a2779f04999d0f0e40f93e1697c37ec042 refs/remotes/personal/docs
50f0edc4e2f5e4f05c2724faa23b523c3ba20d64 refs/remotes/personal/doctree-fn
54e5b5db2f113399ff8a41a03d8b641c55bd225c refs/remotes/personal/doctree-foreign
346c682e3dd63224849fa66b1263439989a0723b refs/remotes/personal/doctree-trait
75dfd5e1c1a51c44c8eb8d7474879f6ae5969085 refs/remotes/personal/download-rustc-cached
3164c2aa15a17ddbc4378b375ac822b6fef154b5 refs/remotes/personal/drop-tracking-debugging
24378885c8ca7e3cae25723da577445d200fe8e8 refs/remotes/personal/dry-run-progress
8511d361f18866238d01ef9f59c965cc7fae295a refs/remotes/personal/dump-mono-stats
f2164c324cedfed8e655342b26b2831bdb39c5f2 refs/remotes/personal/eager-submodules
70637687af85c81a0132418217f5e25d2b94f20c refs/remotes/personal/early-late-pass
af3e06f1bf4ca49407562b1b84744e27905bea98 refs/remotes/personal/example-branch
0aa49568f3f1488b43510c26e386e76c7c9e4d0c refs/remotes/personal/faster-thread-local
ab89c171bdb29194baca274decf86acfecd2bb9d refs/remotes/personal/fewer-submodule-updates
3534e0a393b447791fffaa84a97114dd3c761890 refs/remotes/personal/fix-clippy
a8b210dc75025bac0961e4874961d09d25ce2a8e refs/remotes/personal/fix-llvm-handling
6d2fe52dc5065278c57542487f5d0ab31313d3bf refs/remotes/personal/fix-panic
f707e726ba0eff5bd59d752b70aea084ae350053 refs/remotes/personal/fix-stage3-panic
63b8d9b6898ec926f9eafa372506b6722d583694 refs/remotes/personal/fix-vendoring
4f151b1f9eae838f407fa42460ae64307956b8b2 refs/remotes/personal/force-stage2-download-rustdoc
b3d7774ba4af4037afe9da8ebdc457aca4919256 refs/remotes/personal/fuck-it
f7f913cb891def37b190d31d66eb059164ff622e refs/remotes/personal/hash-stable-2
7a9549a50021c0aa1d8e4417cd160db2707b7dc2 refs/remotes/personal/ignore-revs
1deca0425db3e74a61cb732e729c0777904e549c refs/remotes/personal/improve-obligation-errors
6bed7e130942923e3e18d21e84121309c673e95e refs/remotes/personal/infer-mut
9c94def7e4a450680f8586f3c3bdae716cf4ad53 refs/remotes/personal/inner-outer
b7bf22bb582b3ea3f94cc93f6e3536d7fa4a1d15 refs/remotes/personal/intra-link-moar-self
837dc4e8867664e29d4ecd066065d7f6bfe3646e refs/remotes/personal/intra-link-self-big-refactor
eba56d925b9fee07b132e0fe2173f1a4971fb84a refs/remotes/personal/invalid-filter-hard-error
1cd28639c9773474bf447375a74b5c2491014c56 refs/remotes/personal/jnelson/tag-query-system
86a0bb9275e39e33100f7dbeed4a541aeb3ff96d refs/remotes/personal/jyn514-patch-1
2c70b6abf4d9d78556125a145bdce1bbacbda5b4 refs/remotes/personal/keep-stage-check
6c763821ba80fa54fcf237b0d422aa16d2a4e6f9 refs/remotes/personal/labels
06f19a5bdfef7878f1eaaef98c699780800bf072 refs/remotes/personal/less-noise
82d99ad8548a7c6eb9de059554897865d3de96d2 refs/remotes/personal/less-verbose-logging
54a50feda96e4eec4c58b0bf408e0f8c44e49856 refs/remotes/personal/linkcheck
59d7295c321809740961996b7369f27fa3c3c024 refs/remotes/personal/lint-repro
b6851ba3c9eccfb1def7fdb5e4c64edcad55e612 refs/remotes/personal/macro-use
e9d99e31a5502f2b5ed0e30370870a26f732a6e4 refs/remotes/personal/master
675edd0231fd799f130ae2d46e079b3753475449 refs/remotes/personal/module-cache-refcell
00cde6d4b94bba23ad06b352bc589805574f62b2 refs/remotes/personal/move-dep-kind-node
6bae428097309eab58813298c48154081d475730 refs/remotes/personal/mut-clean
1f1f7214caaae9221e15dbfddeb65e31a94dda73 refs/remotes/personal/need-backline
d11855a8ceb129c25160a7adb995087fdf799102 refs/remotes/personal/nested-variant
7ec32f454a7566613bce60cf1d779be7c65fc73f refs/remotes/personal/new_test_branch_so_maybe_the_bug_will_show_up
56da967e8a9fc515a25fb0c8cda92db7fec89d20 refs/remotes/personal/new_test_branch_so_maybe_the_bug_will_show_up2
c38bb2e95b803c0c39187931c9dcc481a7b43e44 refs/remotes/personal/new_test_branch_so_maybe_the_bug_will_show_up3
d04ca008e1c8ade73ec22976ff6a2a6a13ceabec refs/remotes/personal/no-clone
d64517d6925e4824129fb952280bec2585166324 refs/remotes/personal/no-codegen-dead-code
112ed0bfc552e19458f2a9a2698070bbe7525865 refs/remotes/personal/no-option-collapsed-docs
a539d4e448ae37326040a89925cd61b619fc4dfb refs/remotes/personal/no-option-doc-value
fedc51a2ebb97029aba965269e2c72d82cd50b64 refs/remotes/personal/no-python-in-shell-scripts
30de5b879f62dbc681bc6e6f9afd2fb2c0205b22 refs/remotes/personal/no-reexports
f0edfd5e0ffdf3450a1199adf156192735ef6ec2 refs/remotes/personal/no-refcell
5d5be028b318ed7e542bf238ebf2fc009a830a5a refs/remotes/personal/no-resolver-2
be89de307560a0edc4aacb5089443c5eaea7f754 refs/remotes/personal/no-steal
673476c785bc1fbff175cb7f49ad487c7a2b0337 refs/remotes/personal/no-xpy-extras
41e71f31be898b103b48edd2e228105bfddba867 refs/remotes/personal/normalize-docs
2bd99cdb5253256d7c509ad92b75a7251cfbd6e5 refs/remotes/personal/oh-no
b6ff509d24506c3faab356f65e314d0f85341f1d refs/remotes/personal/os-str-display
0e33cc52f77e08aa53a048a09422aa172d9345e1 refs/remotes/personal/parallel-tidy
dc5a000d794329c1cac5dc94871329fcb8b30123 refs/remotes/personal/platform-specific
9d664b24f92fbbe22b3243014bb98f6878db30a9 refs/remotes/personal/pre-push
c754d057a67bb8779789ad48708632fcf87361b1 refs/remotes/personal/prepush-windows
98711ff754a84ada37c369100302fb3c13616c6b refs/remotes/personal/primitives-are-all-the-same
3890992d0a9509bfab77659bc23f065ebcd3c2ba refs/remotes/personal/print-paths
6b291ab5b69c297a036d57daff979ca228c80432 refs/remotes/personal/proc-macro-fmt
c01985387d8c00e04acc87d04d52e3a5e5c82c10 refs/remotes/personal/quiet-bug
bf3d0f54e0ab5fda4c828ac5851977f5f291cb1d refs/remotes/personal/recover-overflow
8810174a16a72d6fa4bf1322adb54acda0f40b27 refs/remotes/personal/refactor-build-manifest
6e0e22080424e7d8a4b4638bf4fb41e691efb26b refs/remotes/personal/relative-dir
6a3ebe6adc58b60cf963b2dd314bc84afd59a0a2 refs/remotes/personal/remote-tracking-branch
dea1c6861409b06d2e3f4ebfb46af908a1b3ae29 refs/remotes/personal/remove-collapsed
d16187c47f023601b74e41550e7e36058baa02c4 refs/remotes/personal/remove-tmp-dir
b5b21507c1a9ce2aa94a5cce6789d2b3281e62b8 refs/remotes/personal/rerun-if-changed
b997e4fe4e1af7294a8bc0144220b0a4a8ed4357 refs/remotes/personal/restrict-self
85217f1f8db600e3025de7e319b7b5a129f1b197 refs/remotes/personal/revert-98474-python3
a97cbcfad9dbcd8776f161fe2375c79596a94b34 refs/remotes/personal/revert-html-root-url
90a10cae4b7fafbd8ce100f2ae0ce65dc6bcb3d8 refs/remotes/personal/revert-merge-check
2ee546aa5eec78b60a922216ccfb2b3892ad450b refs/remotes/personal/review
430e85a7c1e103db0a0a31b19356aa5381cb142e refs/remotes/personal/rollup-7o44nm2
5b9d468201e8825b0429ea7439e79cf3ff1bf3fd refs/remotes/personal/rustc-directory-ice
82acbc8a49799868613a070085dc462f38ed78d5 refs/remotes/personal/rustc-macros
17da4e06f20a47a68fe0a71607a66d7f9a4c850b refs/remotes/personal/rustdoc-lint-help
b771d901f735aa6d4078aed92b03e30eba35bf5a refs/remotes/personal/setup
103816d704133fc954344d551af04cb333b03e94 refs/remotes/personal/setup-twice
616dc5da4c53250f7bbca4b7fb3a9b538b4dbea2 refs/remotes/personal/shared-static-files
32b2b429499cbfad144ac28ca831dc71c8f980b4 refs/remotes/personal/smaller-item-kind
67220d69702b4428a811d063fce3045da7a4040d refs/remotes/personal/src-detection
7cb00e45db871a9a4dc9d9bb4a80b7fa928d1a8a refs/remotes/personal/stability-checks
cbede85538d3ee59819c5d069ffe8d2dd7931749 refs/remotes/personal/stage1-clean
2248a23c11942503f30a15ba8a4aeb28f80f6a27 refs/remotes/personal/stage1-pr-ci
97b24c33eb14d3d76b6594d9d8bd989a7dfc6847 refs/remotes/personal/suggest-resolution
6f0fc2fd337757a02fa0d948e78638d66a46f518 refs/remotes/personal/sysroot-symlink
99d080dc3cddf85284ba4683b90da95e65b17ffc refs/remotes/personal/sysroot-typo
9dfe50440e6d48bd2fd40a4b7b3992998e55eace refs/remotes/personal/tail-args
8dcc51c78d58a5bb9ab91953720eada949d6e8a4 refs/remotes/personal/test-stage0-clippy
ba6cb332c26cc4fe5fd88220aac32c77a6db9a05 refs/remotes/personal/tidy
e71c48c5a08421a4b29f3e1a2420e6e8fe8d13e6 refs/remotes/personal/tool-std-features
9de8a4a6faa320f2b972fbd4761cf2a85ef20277 refs/remotes/personal/treat-lint-err-as-bug
e4330295d9bcb8ab302000eae60cd8b9a71f2d7a refs/remotes/personal/trimmed-def-paths-ice
fb89ae4092deb4b3b90f0bdc2d5467b4029ba258 refs/remotes/personal/unused-make-targets
164e22109b697ed0bc7dd62039362b2fb5482ef9 refs/remotes/personal/unused_proc_macro_decl
b5d5682ac30615b35bd2f011c24a3c927420c87f refs/remotes/personal/update-copy
f8987b96033c2dd29c56f65e5ee21bfc4160ad46 refs/remotes/personal/variant_field_cleanup
e87f53cc9bce47277715f4071823e69e6a4742c3 refs/remotes/personal/versions-used
d33d01473649e764f05eacceb7d59a1b66cd2b60 refs/remotes/personal/warn-hidden
9be0b3e2bc4f9fce1a47305d0efbc674e312e09e refs/remotes/personal/x-fix
684003028335580eae0d12abbe6307db9cd0ee7b refs/remotes/personal/x.py-defaults
ee821f2c7be4b5e356d8b06bfd9b6c67f907b850 refs/stash
b19db808c2793fe2976759b85a355c3ad8c8b336 refs/tags/0.1
ac33f2b15782272ae348dbd7b14b8257b2148b5a refs/tags/0.10
e1247cb1d0d681be034adb4b558b5a0c0d5720f9 refs/tags/0.11.0
f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1 refs/tags/0.12.0
1754d02027f2924bed83b0160ee340c7f41d5ea1 refs/tags/0.2
6ee8962a6cf7c32cee34d390018baeb2f569ee4c refs/tags/0.3
658ed684a513ed217636798a1f2dbb555004bba1 refs/tags/0.4
5565f7e967cf13a2ffe3183cb7099596d2fb3c70 refs/tags/0.5
eef4a607d51822e118f37a4c3c274c1cfd4d501a refs/tags/0.6
88ad33089583afb77cb48aed19b54eeca4a33b5d refs/tags/0.7
b5ca80041e025b55a807eb3373195538501f871a refs/tags/0.8
36870b185fc5f5486636d4515f0e22677493f225 refs/tags/0.9
55bd4f8ff2b323f317ae89e254ce87162d52a375 refs/tags/1.0.0
e42bd6d93a1d3433c486200587f8f9e12590a4d7 refs/tags/1.0.0-alpha
4c705f6bc559886632d3871b04f58aab093bfa2f refs/tags/1.0.0-alpha.2
8cbb92b53468ee2b0c2d3eeb8567005953d40828 refs/tags/1.0.0-beta
bc3c16f09287e5545c1d3f76b7abd54f2eca868b refs/tags/1.1.0
d5678055c2bca22696e870f9103dc10aa6c35f41 refs/tags/1.10.0
f63a9c0cde3e69f0e283dd7dcd710a79a6869dee refs/tags/1.11.0
961a3c3b8d480a8b7b2df0669f8bfdfc1d1ce153 refs/tags/1.12.0
122a68b56819eed612d828156eded0eea4bb39d9 refs/tags/1.12.1
bc7bdd4d6e9fb1ed15acd4117da3469fa18b45c8 refs/tags/1.13.0
453f3aefdd8e9b077779940210a41ebea3f0d458 refs/tags/1.14.0
bc5a29d5c89eab3dfa8dc6d9d64ef8e9d808dfa9 refs/tags/1.15.0
8a753bfbd32b006531dabe1a6102b2c8dac6fd91 refs/tags/1.15.1
a9198e3dd7958a1449d8857c35a9e95100af815d refs/tags/1.16.0
58cde5c143c011bc939bd0060ad3e2c4ffcc2d24 refs/tags/1.17.0
2d7dc18b235d643a4f67df13ed592f4faebbddcc refs/tags/1.18.0
3289ae1639b0bb368ebdd62657b18b4815cce874 refs/tags/1.19.0
f557861f822c34f07270347b94b5280de20a597e refs/tags/1.2.0
7a854f4bc6ca225cb3475926cfc538a786e7e911 refs/tags/1.20.0
f0031285a211d33b3517acca8c0dd7f8e7bc2919 refs/tags/1.21.0
7147211a533c9e49dc2e6fe2c19ce2a2734b0a85 refs/tags/1.22.0
0d586d6615330af074c7f93b1458c9b1316d3b22 refs/tags/1.22.1
6a3b6b8839092d9b9e6c2ca86b5430fcdfd871ab refs/tags/1.23.0
0e31da3b89faecbb3cc11b3d5485fea6813b4d74 refs/tags/1.24.0
e1782455ebfae398636c72627c2bf4cd4bbce4f1 refs/tags/1.24.1
63276bd63d3bd8722867c6c4f21333db8a4b8775 refs/tags/1.25.0
d7801a1f8b6f7a77952b55ba7e002a455ac4f35e refs/tags/1.26.0
46ac761f9d9925b20409262485d908b37c112f36 refs/tags/1.26.1
b7a14a21dba30e2e9df1123222c8ca1e27153578 refs/tags/1.26.2
d6023f415aa3fc509fc34100ee04fbcf67f757e1 refs/tags/1.27.0
99bfc70998720659b34c40807bf53001ded52d95 refs/tags/1.27.1
dac474b10ffa573685716899661dbd07d3d20d98 refs/tags/1.27.2
0bbeff8f750dd68e687403e1eb663373f8ac3154 refs/tags/1.28.0
de9114b0633ed9f3160f9c2a98e239383eb105f1 refs/tags/1.29.0
ca96ed349acfaf2a756ccc3d0edfc2e457eb4376 refs/tags/1.29.1
4da54a1fa57e588832f230a15b9d5db01a53b996 refs/tags/1.29.2
1896219fb7e33b0d317ec0be4a2e21d86af2ba8e refs/tags/1.3.0
a06e4e4e9f995fd0bff09c735bf932aaea634adb refs/tags/1.30.0
9df3c8af03e79d31289f43fc8d2dda2e544af348 refs/tags/1.30.1
3b4b9a4247febf0e71f3480fd34775850b77fea4 refs/tags/1.31.0
4bc6ce83704da6fd5d56856c54393ba0df03ad95 refs/tags/1.31.1
3854d05abcd904e18311ca793f60d0b71e800a44 refs/tags/1.32.0
fc3b53ff103062247686e14f83f44021d5558640 refs/tags/1.33.0
e1a98a0cb13cef05a3d478f75911ae3d8035b278 refs/tags/1.34.0
433755e0043306b621f092dad44d2aed8cd28285 refs/tags/1.34.1
a6a44c5d923aadedf4e3507cc001bdfdb2abf544 refs/tags/1.34.2
ac2452c1b746a4bc7ffd68120dce9564d93deb35 refs/tags/1.35.0
dd20f18bef1af465a09b08d92d289ab880011eb0 refs/tags/1.36.0
d0be6f624ccbeb1a9fb2796c0a6d99f8bdc9c781 refs/tags/1.37.0
cabda533c937a763582a2c505b38bdecb08f80a5 refs/tags/1.38.0
d650e13c2975bde610b17d52db7710f38906f05c refs/tags/1.39.0
e10441ae5e655113cd024da8760b3d417ff0e4f7 refs/tags/1.4.0
d4627cdbd2a26c536dcf015c024e24b798471018 refs/tags/1.40.0
a2bd8df40d3a882e40b6e03b142517172a517024 refs/tags/1.41.0
e8b466f79c5a5cf5870b284ff433707ec7a36af3 refs/tags/1.41.1
874f7cbe352033cac5a8bc889847da2fe1d13e9f refs/tags/1.42.0
2df93b48cdfa2a6e1de9edc263f879874bdf47e9 refs/tags/1.43.0
844c53d6d3fd180615cbddd9d882689d0ee6cde2 refs/tags/1.43.1
9dcb33aa56d9783788a1321c6068e2808e1b8199 refs/tags/1.44.0
b16f6d814a575dec93eefc506c54487a9c6eeb8f refs/tags/1.44.1
b13c29dde6865973be1146727cb41b382e1fc905 refs/tags/1.45.0
e147b1a0aefe9dcb1669a6e3e19d2ebfa5820455 refs/tags/1.45.1
fa5abfa682ef609bbce4ab16adb1f94d3869e54e refs/tags/1.45.2
0fbbbf27e72e06134ab2317de07f69635613e06d refs/tags/1.46.0
af10768031c76eb3181543bd1cfef8ba8be7e443 refs/tags/1.47.0
82457e09d726f92f384e375c5a7086e49939a3e5 refs/tags/1.48.0
a31c977c800ff16bff77a8466983fde7469abb8f refs/tags/1.49.0
d8027afc009e55fb07776831094a13b1b64b6305 refs/tags/1.5.0
11199001337213fbfe03cf82e8987846f1d70eaf refs/tags/1.50.0
2949b7456a958923d34eec389490adc70efd85a3 refs/tags/1.51.0
af65d486380d32ae42853e8dc3db0147869ba522 refs/tags/1.52.0
390d3e847cb6031fb6d5063ed032ea406cde625e refs/tags/1.52.1
6c84a92fdd46ff5a8dcf903622caf360f4425d93 refs/tags/1.53.0
0170fff6e0b50bcab2f8bf3321e6b5652226f20c refs/tags/1.54.0
06aec595a7ef346bd884d12b4853e9a432733e42 refs/tags/1.55.0
bd180709d8dbe163333521b01320d97e4da3d182 refs/tags/1.56.0
7eb244d7dd25d6137469e8abc71b2fe5b0ccf527 refs/tags/1.56.1
20e5e087c3de0fb9c211aa80c0d505a6b2c099be refs/tags/1.57.0
61ea9a44c133f403599e76a336331fcb675399cd refs/tags/1.58.0
8832d21e92d9a502c4ae591b9d529095dcf46c05 refs/tags/1.58.1
4c9bd1611af515ec325e4322ebb22f598b8569e7 refs/tags/1.59.0
4fe6048e8dd100ec1c61a020d01f75046b42e818 refs/tags/1.6.0
6d94daf692c1347229357379e8b5d820247b9e65 refs/tags/1.60.0
a52dc32db4ecf9b0765467a1403ce59289fe2c3a refs/tags/1.61.0
cb333ec50ce4cc10c0a4b9bd86f86d9e09cbb1d3 refs/tags/1.62.0
110f538e89b02301f5a9195c4b7b219cbff214b8 refs/tags/1.62.1
56438456e0322f813d21feb3af593d2351ec7c2e refs/tags/1.63.0
0ccf0f10802b45300c88ce37ea53edab23510a1c refs/tags/1.64.0
4abddbedbc8b5de785e7b8d31aaa31dde6bd430f refs/tags/1.65.0
f8ae1179a6deab019f4fc7aa79efbb7f15096a4f refs/tags/1.66.0
ffb22f48ba6fd4f2cf5b921c08b8e618aded1465 refs/tags/1.67.0
21a2bdd0c3252e9174cd0f659c52031bdcc11988 refs/tags/1.67.1
2d2a9311cbe05eb47960489259e1e9408062c863 refs/tags/1.7.0
6bef00072dbaa86da9dc73b09f926cf67c696b39 refs/tags/1.8.0
6f9526945c2b832c0eb2187964ecd68f6ab0f600 refs/tags/1.9.0
1f5c5126e96c79d22cb7862f75304136e204f105 refs/tags/release-0.1
c870d2dffb391e14efb05aa27898f1f6333a9596 refs/tags/release-0.2
b5f0d0f648d9a6153664837026ba1be43d3e2503 refs/tags/release-0.3
495bae036dfe5ec6ceafd3312b4dca48741e845b refs/tags/release-0.3.1
e828ea2080499553b97dfe33b3f4d472b4562ad7 refs/tags/release-0.4
7e3bcfbf21278251ee936ad53e92e9b719702d73 refs/tags/release-0.5
b4ebcfa1812664df5e142f0134a5faea3918544c refs/tags/release-0.6
64e99b6af789fc206c62a77ffc5ac33530a83bc1 refs/tags/release-0.7
  • git config --get-regexp '(push|fetch|remote|branch|trim).*' | sort
alias.default-branch !git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@'
branch.docs.merge refs/heads/docs
branch.docs.remote personal
branch.faster-thread-local.merge refs/heads/faster-thread-local
branch.faster-thread-local.remote personal
branch.master.merge refs/heads/master
branch.master.remote origin
push.default current
remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
remote.origin.pushurl [email protected]:jyn514/rust
remote.origin.url https://github.com/rust-lang/rust
remote.personal.fetch +refs/heads/*:refs/remotes/personal/*
remote.personal.url [email protected]:jyn514/rust
submodule.fetchjobs 4
@foriequal0
Copy link
Owner

Thanks for the detailed bug report!

I've implemented it with just git push --delete ...
https://github.com/foriequal0/git-trim/blob/master/src/subprocess.rs#L277
That's why it runs pre-push hook. I might just add --no-verify option to it, or reimplement it with libgit2.

I've been quite busy with my day job to maintain this projects. I will resume the project when I am free soon.

@joshka joshka linked a pull request Aug 26, 2023 that will close this issue
@joshka
Copy link
Contributor

joshka commented Oct 17, 2023

Hi there - would you mind taking a look at #207? It's a one-line fix to the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants