rev-parse doc: --git-dir does not always show a relative path
authorJon Seymour <jon.seymour@gmail.com>
Fri, 18 May 2012 09:23:24 +0000 (19:23 +1000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 May 2012 19:23:01 +0000 (12:23 -0700)
commitd0740ce0ba9417c34e00b5a61161d84f85ba7fbc
treec2f540d22a05a93fca96adfaaf79c33c638475ca
parent80d868b068b9e68a4aac91be578a8f097f45d8da
rev-parse doc: --git-dir does not always show a relative path

The description was misleading because it lead the reader to believe
that --git-dir would always show a relative path when, in fact, the
actual behaviour does not guarantee this.

Rather, it was intended that the advice be given that if a relative
path is shown, then the path is relative to the current working
directory and not some other directory (for example, the root of the
working tree).

Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rev-parse.txt