Do show the top-level working dir.
[git-shortcuts.git] / git-roots-of-hist
bloba71434811b5491c8e62f4f0e3edb60b9292870b6
1 #!/bin/sh
3 # $Id$
4 # Description: lists the commits in the given histories which have no parents
5 # (i.e., which are roots, initial commits).
7 # I intend to use it to merge the initial commits
8 # of the indpendent RCS histories of files (produced by parseRCS).
9 #
10 # Author: Ivan Zakharyaschev imz at altlinux dot org, March 2009.
11 # I put it to public domain.
14 git rev-list --parents "$@" | sed -e /\ /d