Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 1/9] gitweb: Great subroutines renaming

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:37

Jakub Narebski [off-list ref] writes:
I'm not sure if to add script used to create this commit, and to
port changes to be "post-rename". Here it is:

#!/bin/bash
if test -z "$1"; then
	FILE=`git rev-parse --show-cdup`gitweb/gitweb.perl
else
	FILE=$1
fi
echo "Great subroutine renaming: $FILE"
perl -s -p -i.re~ \
	-e 's/\bgit_get_referencing\b/format_ref_marker/;' \
Will apply, but I suspect all of these need g at the end as in
"s/foo/bar/g;".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help