git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git fast-import not verifying commit author lines?
@ 2009-12-22  4:22 David Reiss
  2009-12-22 15:06 ` Shawn O. Pearce
  0 siblings, 1 reply; 5+ messages in thread
From: David Reiss @ 2009-12-22  4:22 UTC (permalink / raw)
  To: git

mtn git_export produces this output on a simple repo:

blob
mark :1
data 8
content

commit refs/heads/com.example.badexport
mark :2
author <somename> 1261454209 +0000
committer <somename> 1261454209 +0000
data 8
acommit

M 100644 :1 "afile"
progress revision 9b0e11e4d66eba8a3cf26095fb573116b886cd37 (1/1)
#############################################################

The author and committer lines are missing the names (I've filed this as a
bug with monotone).  git commit-tree refuses to to produce a commit object
like this, so it seems like git fast-import should detect and report this
instead of silently writing the invalid commit object to the repository.

--David

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

end of thread, other threads:[~2009-12-31 23:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-22  4:22 git fast-import not verifying commit author lines? David Reiss
2009-12-22 15:06 ` Shawn O. Pearce
2009-12-30  6:04   ` David Reiss
2009-12-30 15:03     ` [PATCH] fast-import: Document author/committer/tagger name is optional Shawn O. Pearce
2009-12-31 23:08       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).