From 01e6fbaef0b5ab683c59cd6798c4e0e5e2446a29 Mon Sep 17 00:00:00 2001 From: Ivan Malopinsky Date: Mon, 31 Aug 2015 00:10:51 -0400 Subject: [PATCH] display filename and line number --- git-fresh | 1 + 1 file changed, 1 insertion(+) diff --git a/git-fresh b/git-fresh index a992e98..a4801fa 100755 --- a/git-fresh +++ b/git-fresh @@ -18,6 +18,7 @@ file_line () { local FILE=$1 local LINE=$2 + echo -n "$FILE:$LINE " head -n $LINE $FILE | tail -1 }