projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b788ae3
)
handling no parms better
author
Chris Koeritz
<cak0l@virginia.edu>
Tue, 11 Aug 2020 13:39:23 +0000
(09:39 -0400)
committer
Chris Koeritz
<cak0l@virginia.edu>
Tue, 11 Aug 2020 13:39:23 +0000
(09:39 -0400)
scripts/rev_control/branchy.sh
patch
|
blob
|
history
diff --git
a/scripts/rev_control/branchy.sh
b/scripts/rev_control/branchy.sh
index 5bcedc8537986e68dcd39d189f303595e2c568ac..15ec7702429adf5c23219041140e5ed0d50e6dbc 100644
(file)
--- a/
scripts/rev_control/branchy.sh
+++ b/
scripts/rev_control/branchy.sh
@@
-10,17
+10,11
@@
save_terminal_title
##############
##############
-###echo "showing repository branches at: $(date)"
-
FULL_LIST="$@"
FULL_LIST="$@"
-# only add the standard feisty meow repo list items if we were given no args on command line.
-#hmmm: below seems to be oddly just major locations; is the repo list all relative names?
+# use the current directory if no paths were provided.
if [ -z "$FULL_LIST" ]; then
if [ -z "$FULL_LIST" ]; then
- FULL_LIST=" $(dirname $FEISTY_MEOW_APEX) $HOME "
- if [ "$OS" == "Windows_NT" ]; then
- FULL_LIST+=" c:/ d:/ e:/ "
- fi
+ FULL_LIST="."
fi
show_active_branch $FULL_LIST
fi
show_active_branch $FULL_LIST
@@
-29,3
+23,4
@@
exit_on_error "showing branches: $FULL_LIST"
##############
restore_terminal_title
##############
restore_terminal_title
+