Approved by: meta (mentor), ygy (mentor)
Details
Diff Detail
- Repository
- R11 FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Update first line of commit message as git push is rejected as following.
yasu@rolling-vm-freebsd2[1238]% git push
Enumerating objects: 191, done.
Counting objects: 100% (191/191), done.
Delta compression using up to 4 threads
Compressing objects: 100% (61/61), done.
Writing objects: 100% (97/97), 9.67 KiB | 9.67 MiB/s, done.
Total 97 (delta 69), reused 61 (delta 36), pack-reused 0
remote:
remote: ================================================================
remote: First line does not start with the regular
remote: category/port: subject
remote: ================================================================
remote:
To gitrepo.freebsd.org:ports.git
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'gitrepo.freebsd.org:ports.git'
yasu@rolling-vm-freebsd2[1239]%
Now ports tree requires a commit message that begins with */*;.
So amend the 1st line */*: Update MAINTAINER to my FreeBSD.org address and push it.
Seconded @meta's comment. Also, although not a strict rule, it is usually a convention that the first line of a Git commit message is 50 characters or less. So, try to keep it brief and on-point ;)