chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dgit-badcommit-fixup: Debugging (commented out)
[dgit.git]
/
tests
/
lib
diff --git
a/tests/lib
b/tests/lib
index cf7d4cfb008fd3a3f87a60d4e67f02a45fc635c5..f2414ae434c10ed90d256931fdc6192ae91d9234 100644
(file)
--- a/
tests/lib
+++ b/
tests/lib
@@
-901,7
+901,7
@@
t-gbp-example-prep () {
t-make-badcommit () {
badcommit=$(
git cat-file commit HEAD | \
- perl -pe 's/^committer
.*\n/
/' | \
+ perl -pe 's/^committer
/commiter
/' | \
git hash-object -w -t commit --stdin
)
t-expect-fsck-fail $badcommit