From 85b7ea9145550ada6856b9745f67243f5cbd912c Mon Sep 17 00:00:00 2001 From: Eduardo Cavazos Date: Wed, 14 Jan 2009 01:07:31 -0600 Subject: [PATCH] git-tool: Use the 'git' entry point instead of the git-* commands --- extra/git-tool/git-tool.factor | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/extra/git-tool/git-tool.factor b/extra/git-tool/git-tool.factor index 896c0d776f..454f63f325 100644 --- a/extra/git-tool/git-tool.factor +++ b/extra/git-tool/git-tool.factor @@ -116,11 +116,11 @@ TUPLE: ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -:: refresh-git-status ( GIT-STATUS -- GIT-STATUS ) +:: refresh-git-status ( STATUS -- STATUS ) - [let | LINES [ GIT-STATUS repository>> "git-status" git-process stdout>> ] | + [let | LINES [ STATUS repository>> { "git" "status" } git-process stdout>> ] | - GIT-STATUS + STATUS LINES "# Changes to be committed:" git-status-section [ "new file:" head? ] filter @@ -269,7 +269,7 @@ TUPLE: "Diff" [ drop - STATUS repository>> { "git-diff" PATH } git-process + STATUS repository>> { "git" "diff" PATH } git-process popup-process-window ] add-gadget @@ -320,7 +320,7 @@ TUPLE: ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :: git-remote-branches ( REPO NAME -- seq ) - REPO { "git-remote" "show" NAME } git-process stdout>> + REPO { "git" "remote" "show" NAME } git-process stdout>> " Tracked remote branches" over index 1 + tail first " " split [ empty? not ] filter ; @@ -334,7 +334,7 @@ TUPLE: "Remotes"