Code

Add 'git rev-parse --show-toplevel' option.
authorSteven Drake <sdrake@xnet.co.nz>
Mon, 11 Jan 2010 22:33:48 +0000 (11:33 +1300)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jan 2010 03:47:35 +0000 (19:47 -0800)
commit7cceca5cccdcf1f0f9caa80b82d26fcff65e6fdf
tree0bddf16eecc851a173112942ab89bac75f614310
parent902f235378cb2b2f6dd5dd664b9630c95321f0ae
Add 'git rev-parse --show-toplevel' option.

Shows the absolute path of the top-level working directory.

Signed-off-by: Steven Drake <sdrake@xnet.co.nz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rev-parse.txt
builtin-rev-parse.c