]> granicus.if.org Git - cgit/commitdiff
ui-snapshot.c: remove debug cruft
authorLars Hjemli <hjemli@gmail.com>
Thu, 2 Jun 2011 10:26:41 +0000 (10:26 +0000)
committerLars Hjemli <hjemli@gmail.com>
Thu, 2 Jun 2011 10:26:41 +0000 (10:26 +0000)
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
ui-snapshot.c

index 6e3412c9e3a6b3175475e0b7a0b4c5433850f612..07cc944525c53096b5c429f25fd2b29c68eaa28f 100644 (file)
@@ -119,13 +119,11 @@ static const char *get_ref_from_filename(const char *url, const char *filename,
 
        snapshot = xstrdup(filename);
        snapshot[strlen(snapshot) - strlen(format->suffix)] = '\0';
-       fprintf(stderr, "snapshot=%s\n", snapshot);
 
        if (get_sha1(snapshot, sha1) == 0)
                return snapshot;
 
        reponame = cgit_repobasename(url);
-       fprintf(stderr, "reponame=%s\n", reponame);
        if (prefixcmp(snapshot, reponame) == 0) {
                snapshot += strlen(reponame);
                while (snapshot && (*snapshot == '-' || *snapshot == '_'))