On Wed, Mar 23, 2011 at 11:50 AM, martin f krafft <madd...@madduck.net> wrote: > > also sprach Dieter Plaetinck <die...@plaetinck.be> [2011.03.23.0933 +0100]: > > well, the idea behind doing it in pure-python is removing the > > overhead of spawning extra processes, do you have an argument why > > reading the branchname of the current HEAD in a few lines of > > python is bad? > > .git/* is not a public API. It's considered internal. >
Not its not. Its even documented[1]: "... a valid git repository must have the HEAD file; some porcelains may use it to guess the designated "default" branch of the repository (usually master)." (dvcs-autosync is such a porcelain) Greetings Felix [1] http://www.kernel.org/pub/software/scm/git/docs/gitrepository-layout.html _______________________________________________ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home