Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Fixing commit dates before pushing
@ 2026-05-12  8:19 Tom de Vries via Gdb
  2026-05-12 11:57 ` Eli Zaretskii via Gdb
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Tom de Vries via Gdb @ 2026-05-12  8:19 UTC (permalink / raw)
  To: gdb

Hi,

back in 2014, a requirement was added to the contribution checklist: 
fixing commit dates ( 
https://sourceware.org/gdb/wiki/ContributionChecklist#Fixing_commit_dates ).

The related discussion is here ( 
https://inbox.sourceware.org/gdb/20140814083231.GA6283@blade.nx/T/#u ).

Looking at recent commits, this is done by a few people, but not everybody.

[ FWIW, I'm using a push script (see below) that takes care of this for 
me. ]

If not too many people actually do this, and nobody's complaining about 
it, should we drop the requirement?

Otherwise, perhaps we could invest in some pre-commit infrastructure to 
enforce/implement this more easily.

Thanks,
- Tom

$ cat ../push.sh
#!/bin/sh

set -e

branch=$(git branch \
              | grep "\*" \
              | awk '{print $2}')

echo "REMINDER: Did you apply the Approved-By/Tested-By/Reviewed-By tags?"
echo
echo "Push branch $branch upstream?"
echo "Press ^C to cancel"

read

git fetch -fp origin
git rebase --ignore-date origin/$branch
git push --set-upstream origin $branch:$branch
$

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-05-26 11:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-12  8:19 Fixing commit dates before pushing Tom de Vries via Gdb
2026-05-12 11:57 ` Eli Zaretskii via Gdb
2026-05-12 14:58   ` Arsen Arsenović via Gdb
2026-05-12 14:15 ` Simon Marchi via Gdb
2026-05-12 17:46   ` Guinevere Larsen via Gdb
2026-05-14 19:29   ` Tom Tromey
2026-05-15 14:49 ` Andrew Burgess via Gdb
2026-05-26 11:37 ` Tom de Vries via Gdb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox