From: Pedro Alves <palves@redhat.com>
To: "binutils@sourceware.org" <binutils@sourceware.org>,
"gdb@sourceware.org" <gdb@sourceware.org>,
Joel Brobecker <brobecker@adacore.com>
Subject: can't push to binutils-gdb, git-hooks rejecting commits
Date: Tue, 22 Aug 2017 14:56:00 -0000 [thread overview]
Message-ID: <abaa0d79-9e13-22fd-f6f8-f8c00596238f@redhat.com> (raw)
Hi,
I'm trying to push a patch to master, but it's getting rejected by the
server-side git hooks. Anyone else seeing the same? See below.
Repeating that big "git rev-list" command below locally shows:
fatal: bad revision '^refs/heads/users/hjl/pr17709'
That branch doesn't appear to exist anymore. Sounds like the hooks
need to run "git remote prune origin" on their clone? Does that make
sense?
Joel, any ideas?
$ git push ssh://palves@sourceware.org/git/binutils-gdb.git HEAD:master
Counting objects: 6, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 1.19 KiB | 0 bytes/s, done.
Total 6 (delta 5), reused 0 (delta 0)
remote: Traceback (most recent call last):
remote: File "hooks/update.py", line 69, in <module>
remote: check_update(args.ref_name, args.old_rev, args.new_rev)
remote: File "hooks/update.py", line 62, in check_update
remote: update_cls.validate()
remote: File "/sourceware1/projects/src-home/git-hooks/hooks/updates/__init__.py", line 123, in validate
remote: self.__check_max_commit_emails()
remote: File "/sourceware1/projects/src-home/git-hooks/hooks/updates/__init__.py", line 653, in __check_max_commit_emails
remote: self.__set_send_email_p_attr(self.added_commits)
remote: File "/sourceware1/projects/src-home/git-hooks/hooks/updates/__init__.py", line 713, in __set_send_email_p_attr
remote: _split_lines=True)
remote: File "/sourceware1/projects/src-home/git-hooks/hooks/git.py", line 132, in f
remote: return git_run(command, *args, **kwargs)
remote: File "/sourceware1/projects/src-home/git-hooks/hooks/git.py", line 104, in git_run
remote: output)
remote: git.CalledProcessError: Command 'git rev-list 0d999a6ef0f98b22430d70951408869864c979e0 ^refs/heads/users/hjl/pr17709 ^refs/heads/users/hjl/compressed ^refs/heads/users/ibm/binutils-2_25 ^refs/heads/users/ibm/binutils-2_24 ^refs/heads/users/palves/cxx-eliminate-cleanups ^refs/heads/users/hjl/mpx/plt2 ^refs/heads/users/hjl/branch ^refs/heads/users/arnez/lk3 ^refs/heads/users/hjl/dynobj ^refs/heads/users/apinski/gdb-ilp32-gdbserver ^refs/heads/users/ccoutant/two-level-line-150331 ^refs/heads/users/hjl/version ^refs/heads/users/bheckel/fortran-vla-strings ^refs/heads/users/palves/thread_apply-v2 ^refs/heads/users/arnez/lk ^refs/heads/users/palves/whatis ^refs/heads/users/palves/cxx-target_ops ^refs/heads/users/hjl/output ^refs/heads/users/hjl/secondary/master ^refs/heads/users/hjl/mpx/pltext8 ^refs/heads/users/hjl/pr12639 ^refs/heads/users/palves/core-prstatus-rework ^refs/heads/users/hjl/pr18599 ^refs/heads/users/hjl/got ^refs/heads/users/mwk/s390-relro-old ^refs/heads/users/hjl/pr18028 ^refs/heads/users/palves/cxx-gdb_exceptions ^refs/heads/users/simark/user-selection-rfc ^refs/heads/users/hjl/link_assignments ^refs/heads/users/hl/pr21679 ^refs/heads/users/pinskia/gdb-aarch64-ilp32 ^refs/heads/users/rth/x86-seg ^refs/heads/users/hjl/gold-test ^refs/heads/users/simark/ptid-in-fetch-store-regs ^refs/heads/users/bheckel/fortran-oop-extend-type ^refs/heads/users/palves/dwarf2_per_objfile ^refs/heads/users/palves/fix-double-free ^refs/heads/users/hjl/noisa ^refs/heads/users/ccoutant/experimental-relr ^refs/heads/users/palves/interrupt-while-step-over-v1 ^refs/heads/users/mwk/s390-relro-rel ^refs/heads/users/palves/jit-speedup ^refs/heads/users/ARM/embedded-gdb-7.10-branch ^refs/heads/users/hjl/mpx/plt32 ^refs/heads/users/hjl/mpx/pltext16 ^refs/heads/users/aoliva/SFN ^refs/heads/users/alahay01/targetregcache ^refs/heads/users/palves/dwarf5-regression-for-jan ^refs/heads/users/hjl/compress ^refs/heads/users/hjl/lto-mixed/master ^refs/heads/users/hjl/pr21884 ^refs/heads/users/hjl/linux/master ^refs/heads/users/ccoutant/two-level-line-tables ^refs/heads/users/palves/line_header_leak ^refs/heads/users/qiyao/target-desc-2 ^refs/heads/users/qiyao/target-desc-3 ^refs/heads/users/ARM/sve ^refs/heads/users/hjl/pr20276 ^refs/heads/users/palves/cxx-enum-flags ^refs/heads/users/hjl/pr17878 ^refs/heads/users/ppalka/readline-7.0-update ^refs/heads/users/hjl/cet/master ^refs/heads/users/palves/amd64-tdesc ^refs/heads/users/bheckel/fortran-entry-point-nested-subroutines ^refs/heads/users/hjl/pr19818 ^refs/heads/users/palves/Wwrite-strings-v1.5 ^refs/heads/users/hjl/gpoff ^refs/heads/users/ppalka/readline-6.3-update ^refs/heads/users/hjl/sharable ^refs/heads/users/palves/fix-objc-tests ^refs/heads/users/hjl/property ^refs/heads/users/keiths/intelligent-breakpoint_re_set ^refs/heads/users/mwk/s390-relro ^refs/heads/users/hjl/tls ^refs/heads/users/hjl/gdb-8.0-branch ^refs/heads/users/hjl/binutils-2_25-branch ^refs/heads/users/palves/gdbserver-extract-unsigned-integer ^refs/heads/users/pmuldoon/c++compile ^refs/heads/users/ARM/embedded-binutils-2_26-branch ^refs/heads/users/gentoo/2.27 ^refs/heads/users/gentoo/2.28 ^refs/heads/users/hjl/relax-plt ^refs/heads/users/hjl/pr21964 ^refs/heads/users/hjl/pr21562 ^refs/heads/users/dje/google-7.10 ^refs/heads/users/palves/cxx-breakpoint-improvements ^refs/heads/users/keiths/c++compile-submit ^refs/heads/users/hjl/mmap/write ^refs/heads/users/palves/fix-var-update-for-registers ^refs/heads/users/hjl/cache ^refs/heads/users/ccoutant/gold-record ^refs/heads/users/hjl/relocs ^refs/heads/users/mmetzger/record-goto-mi ^refs/heads/users/palves/cxx-dwarf2read ^refs/heads/users/hjl/indbr ^refs/heads/users/palves/interrupt-while-step-over ^refs/heads/users/hjl/old-lto-mixed ^refs/heads/users/hjl/pr19827/binutils-2_26-branch ^refs/heads/users/hjl/pr19553/binutils-2_26-branch ^refs/heads/users/hjl/pr21903 ^refs/heads/users/hjl/linux/track ^refs/heads/users/palves/function_view ^refs/heads/users/hjl/linux/applied ^refs/heads/users/hjl/mpx/master ^refs/heads/users/palves/cp-linespec-for-keiths ^refs/heads/users/hjl/pr20882 ^refs/heads/users/bheckel/fortran-strides ^refs/heads/users/hjl/plt ^refs/heads/users/pkoning/multi-target ^329d5e7e56f852dcf9956683be4345c165d277db' returned non-zero exit status 128
remote: error: hook declined to update refs/heads/master
To ssh://palves@sourceware.org/git/binutils-gdb.git
! [remote rejected] HEAD -> master (hook declined)
error: failed to push some refs to 'ssh://palves@sourceware.org/git/binutils-gdb.git'
Thanks,
Pedro Alves
next reply other threads:[~2017-08-22 14:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-22 14:56 Pedro Alves [this message]
2017-08-22 15:05 ` Joel Brobecker
2017-08-22 15:17 ` Pedro Alves
2017-08-22 17:33 ` Joel Brobecker
2017-08-22 19:32 ` Joel Brobecker
2017-08-22 19:48 ` Pedro Alves
2017-08-22 15:22 ` H.J. Lu
2017-08-22 15:28 ` Pedro Alves
2017-08-22 16:11 ` H.J. Lu
2017-08-22 15:31 ` Andreas Schwab
2017-08-22 20:08 ` Joseph Myers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=abaa0d79-9e13-22fd-f6f8-f8c00596238f@redhat.com \
--to=palves@redhat.com \
--cc=binutils@sourceware.org \
--cc=brobecker@adacore.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox