Commit Diff


commit - d90bcdd6028e6305e7f6a3303937db80d4eb9cf4
commit + fa44fa48d07a2b4a0afb6c3eb203fb4bfbf5bdb1
blob - 16706774a18a19052ac11e75ca48d2d8e84678e9
blob + fbf1ba3c0f1a0375904247bd9bfd7e086e0170e4
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
@@ -3427,10 +3427,8 @@ gw_blame_cb(void *arg, int nlines, int lineno, struct 
 			goto err;
 
 		if (asprintf(&href_diff,
-		    "?path=%s&action=diff&commit=%s&file=%s&folder=%s",
-		    a->gw_trans->repo_name, bline->id_str,
-		    a->gw_trans->repo_file, a->gw_trans->repo_folder ?
-		    a->gw_trans->repo_folder : "") == -1) {
+		    "?path=%s&action=diff&commit=%s",
+		    a->gw_trans->repo_name, bline->id_str) == -1) {
 			err = got_error_from_errno("asprintf");
 			goto err;
 		}