X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=mktag.c;h=38acd5a295d5f06fb2db60633e89a06ba634beb8;hb=5433235daec11550973f1e290f069ce0c27f53ab;hp=b82e377bd826617810488ea8c92a4135bceebda6;hpb=30ba3809a4670c99c73800393ce29473c84c8521;p=git.git diff --git a/mktag.c b/mktag.c index b82e377bd..38acd5a29 100644 --- a/mktag.c +++ b/mktag.c @@ -120,7 +120,7 @@ int main(int argc, char **argv) setup_git_directory(); - if (read_pipe(0, &buffer, &size)) { + if (read_fd(0, &buffer, &size)) { free(buffer); die("could not read from stdin"); }