Hi!

I have run svn2git and cleaned out most of the parts, so it looks smooth. 
One thing I won't get rid of is a folder "FOO", which is added directly 
under the root of the repo.

In some stages this has been merged in, but the original commit is now 
empty (because Git does not handle empty folders).

9
|
8
|
7
|\
|  \
|   6
|   |
|   5
|   |
|   4
|   |
|   3
|   |
|   |
0'   <- "Added empty folder "FOO"
    |
    |
   /
 /
/
2
|
1
|
0 First commit

So - how do I get rid of this 0' commit?

I tried a bunch of filter-branch-commands (maybe not the correct one)

I tried the wrapper 
here: 
http://stackoverflow.com/questions/9803294/prune-empty-merge-commits-from-history-in-git-repository

But it seems to ignore all empty dirs, and skips this merge. It sees the 
merge, but it does not do anything to prune the empty merge commit.

Can anyone help?

BR
/Mattias

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to