readme
This repository contains GIT mirror of
libsmf Subversion repository.
LibSMF is a BSD-licensed C library for handling SMF ("*.mid") files. It transparently handles time<->pulses conversions, tempo map handling etc. The only dependencies are C compiler and glib. Full API documentation and examples are included.
svn mirroring instructions
- do normal clone:
git clone -o cz git://repo.or.cz/libsmf.git
cd libsmf
- Now you need to fetch the git-svn tracking branches which are not cloned per default:
git config --add remote.cz.fetch '+refs/remotes/*:refs/remotes/*'
git fetch
- you also need to setup the config for git-svn so that a subsequent git svn fetch knows where the repository is. just paste this into libsmf/.git/config
[svn-remote "svn"]
url = https://libsmf.svn.sourceforge.net/svnroot/libsmf
fetch = trunk:refs/remotes/trunk
branches = branches/*:refs/remotes/*
tags = tags/*:refs/remotes/tags/*
- The git svn metadata stored in .git/svn has not been cloned. git-svn uses it to map from git commits to svn revisions. But it has added a git-svn-id: to all the commit messages, which have been cloned. So when you execute git svn fetch now, it will rebuild its mapping from the commit messages.
git svn fetch