X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=sha1_name.c;h=484081de82928108a23a714a76ea88693e56bdd1;hb=8695353147e0c20fc8197fd73efec2ca9bce0304;hp=7b7e61719fa63e41917b41240061c68e3cbabf01;hpb=b815a726e9da97924b44d551b10d3fef3b3d1885;p=git.git diff --git a/sha1_name.c b/sha1_name.c index 7b7e61719..484081de8 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 -> recent commit matching foo */ if (name[0] == ':') { int stage = 0;