Refactor show_tool_help() so that the tool-finding logic is broken out
into separate functions.
Signed-off-by: David Aguilar dav...@gmail.com
---
git-mergetool--lib.sh | 60 +--
1 file changed, 34 insertions(+), 26 deletions(-)
diff --git
Am 27.01.2013 22:24, schrieb David Aguilar:
Refactor show_tool_help() so that the tool-finding logic is broken out
into separate functions.
Signed-off-by: David Aguilar dav...@gmail.com
---
git-mergetool--lib.sh | 60
+--
1 file changed,
David Aguilar dav...@gmail.com writes:
Refactor show_tool_help() so that the tool-finding logic is broken out
into separate functions.
Signed-off-by: David Aguilar dav...@gmail.com
---
git-mergetool--lib.sh | 60
+--
1 file changed, 34
On Sun, Jan 27, 2013 at 01:24:45PM -0800, David Aguilar wrote:
+filter_tools () {
+ filter=$1
+ prefix=$2
+ (
+ cd $MERGE_TOOLS_DIR
+ for i in *
+ do
+ echo $i
+ done
+ ) | sort | while read tool
+
David Aguilar dav...@gmail.com writes:
+filter_tools () {
+ filter=$1
+ prefix=$2
+ (
+ cd $MERGE_TOOLS_DIR
+ for i in *
+ do
+ echo $i
+ done
+ ) | sort | while read tool
+ do
+
On Sun, Jan 27, 2013 at 3:32 PM, Junio C Hamano gits...@pobox.com wrote:
David Aguilar dav...@gmail.com writes:
+filter_tools () {
+ filter=$1
+ prefix=$2
+ (
+ cd $MERGE_TOOLS_DIR
+ for i in *
+ do
+ echo $i
+
6 matches
Mail list logo