From: Matthieu Moy Date: Mon, 20 Sep 2010 21:01:17 GMT Subject: [PATCH] sha1_name.c: update comment to mention :/foo syntax Message-ID: <1285016477-22222-1-git-send-email-Matthieu.Moy@imag.fr> In-Reply-To: <7ab60e32582447ad792602ff405dcee464ef1414.1284830388.git.kirr@landau.phys.spbu.ru> Signed-off-by: Matthieu Moy --- Noticed while reviewing the patch serie about textconv and symlinks. If we have comments, better have them up-to-date ;-). sha1_name.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sha1_name.c b/sha1_name.c index 7b7e617..d7ab72a 100644 --- a/sha1_name.c +++ b/sha1_name.c @@ -1062,6 +1062,7 @@ int get_sha1_with_context_1(const char *name, unsigned char *sha1, /* sha1:path --> object name of path in ent sha1 * :path -> object name of path in index * :[0-3]:path -> object name of path in index at stage + * :/foo -> last commit whose subject starts with foo */ if (name[0] == ':') { int stage = 0; -- 1.7.3.2.g257b5f