mirror of
https://github.com/danog/gift.git
synced 2024-11-26 20:04:47 +01:00
Update commit.coffee
This commit is contained in:
parent
0694f131c8
commit
e3714febe3
@ -101,9 +101,9 @@ module.exports = class Commit
|
|||||||
gpgsig.push lines.shift().replace /^gpgsig /, ''
|
gpgsig.push lines.shift().replace /^gpgsig /, ''
|
||||||
while !/^ -----END PGP SIGNATURE-----$/.test lines[0]
|
while !/^ -----END PGP SIGNATURE-----$/.test lines[0]
|
||||||
gpgsig.push lines.shift()
|
gpgsig.push lines.shift()
|
||||||
if lines[0] != ''
|
|
||||||
gpgsig.push lines.shift()
|
|
||||||
gpgsig.push lines.shift()
|
gpgsig.push lines.shift()
|
||||||
|
if lines[0] == ' '
|
||||||
|
gpgsig.push lines.shift()
|
||||||
|
|
||||||
# if converted from mercurial gpgsig may be present with non-valid gpg lines
|
# if converted from mercurial gpgsig may be present with non-valid gpg lines
|
||||||
# e.g. "kilnhgcopies646973742F2E6874616363657373 6170702F2E6874616363657373"
|
# e.g. "kilnhgcopies646973742F2E6874616363657373 6170702F2E6874616363657373"
|
||||||
|
Loading…
Reference in New Issue
Block a user