git-svn producing "invalid author/committer line"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hi,

We have an SVN repository with a number of projects in its /trunk.
Different people have r/w-access to different subsets of these projects. 

When I "git-svn fetch" this repo's trunk there will be some revisions that
I don't have access to. In SVN log they show up as empty change-sets with
unspecified author. 
In the resulting git repo, git-fsck says "error in commit
92cf6ec3a55fbbfbf5aea7f0937e4b49470b9112: invalid author/committer line",
and - as a consequence I guess - git-gc aborts.

$ git show 92cf6
commit 92cf6ec3a55fbbfbf5aea7f0937e4b49470b9112
Author: (no author) <(no author)@xxxx>
Date:   Thu Jan 1 00:00:00 1970 +0000

I tried to run "git filter-branch --prune-empty -- --all", to simply
discard these empty commits, but the problem remains. 

After some googling I found a possible work-around, using the
--authors-file option of git-svn to map the "no author" into something
less invalid, but I suppose that would require the list to contain every
other committer as well?

Could I somehow make "git-svn fetch" skip these empty commits,
corresponding to revisions that the SVN user doesn't have access to?


Cheers,

	Esben
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]