Skip to content

Commit

Permalink
Include original blob name in temporary filename
Browse files Browse the repository at this point in the history
Closes #1254
  • Loading branch information
koutcher committed Jan 14, 2023
1 parent 8cbf581 commit 4fb1e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blob.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ blob_request(struct view *view, enum request request, struct line *line)
if (state->file)
open_editor(state->file, (line - view->line) + 1);
else
open_blob_editor(view->vid, NULL, (line - view->line) + 1);
open_blob_editor(view->vid, basename(view->ref), (line - view->line) + 1);
return REQ_NONE;

default:
Expand Down

0 comments on commit 4fb1e6d

Please sign in to comment.