gitconfig: update delta color scheme
This commit is contained in:
parent
336fa7c7b3
commit
f3ba02aa7e
|
@ -54,7 +54,9 @@
|
|||
diffFilter = delta --color-only
|
||||
[delta]
|
||||
side-by-side = true
|
||||
[delta "decorations"]
|
||||
plus-style = 'syntax "#142e20"'
|
||||
zero-style = 'syntax "#1d1f21" dim'
|
||||
minus-style = 'syntax "#36181d"'
|
||||
commit-decoration-style = bold yellow box ul
|
||||
file-style = bold yellow ul
|
||||
file-decoration-style = none
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env ruby
|
||||
#
|
||||
# frozen_string_literal: true
|
||||
|
||||
msg = File.read(ARGV[0])
|
||||
unless /\A[[:upper:]]/.match?(msg)
|
||||
puts 'Commit message does not start with an uppercase character'
|
||||
exit 1
|
||||
end
|
Loading…
Reference in New Issue