author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Wed, 1 Aug 2007 18:26:59 +0000 (19:26 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 1 Aug 2007 18:34:13 +0000 (11:34 -0700) | ||
commit | 420acb31acbfbd78e0c35ac0c614de8717daed0a | |
tree | ab2a1bb98e4afeb392d2d0cbd9075f9ba0fb3962 | tree | snapshot |
parent | e90fdc39b6903502192b2dd11e5503cea721a1ad | commit | diff |
get_relative_cwd(): clarify why it handles dir == NULL
The comment did not make a good case why it makes sense.
Clarify, and remove stale comment about the caller being lazy.
The behaviour on NULL input is pretty much intentional.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The comment did not make a good case why it makes sense.
Clarify, and remove stale comment about the caller being lazy.
The behaviour on NULL input is pretty much intentional.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c | diff | blob | history |