projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
54d718f
)
updated to ignore star for current branch unless at front
author
Fred T. Hamster
<fred@gruntose.com>
Tue, 2 Apr 2024 20:58:26 +0000
(16:58 -0400)
committer
Fred T. Hamster
<fred@gruntose.com>
Tue, 2 Apr 2024 20:58:26 +0000
(16:58 -0400)
scripts/rev_control/version_control.sh
patch
|
blob
|
history
diff --git
a/scripts/rev_control/version_control.sh
b/scripts/rev_control/version_control.sh
index 34d51f284443e4140cd859b231070cc40c61a5a0..be77a2f6449ff5cfbc9b35bef2da0bc6cc4f071c 100644
(file)
--- a/
scripts/rev_control/version_control.sh
+++ b/
scripts/rev_control/version_control.sh
@@
-244,7
+244,7
@@
function all_branch_names()
# git repository.
function my_branch_name()
{
# git repository.
function my_branch_name()
{
- echo "$(git branch -vv | grep '\*' | cut -d ' ' -f2)"
+ echo "$(git branch -vv | grep '
^
\*' | cut -d ' ' -f2)"
}
# reports the status of the branch by echoing one of these values:
}
# reports the status of the branch by echoing one of these values:
@@
-509,7
+509,7
@@
function generate_rev_ctrl_filelist()
pushd "$dir" &>/dev/null
local dirhere="$( \cd "$(\dirname "$dir")" && /bin/pwd )"
local tempfile=$(mktemp /tmp/zz_checkins.XXXXXX)
pushd "$dir" &>/dev/null
local dirhere="$( \cd "$(\dirname "$dir")" && /bin/pwd )"
local tempfile=$(mktemp /tmp/zz_checkins.XXXXXX)
- echo >$tempfile
+ echo
-n
>$tempfile
local additional_filter
find $dirhere -follow -maxdepth $MAX_DEPTH -type d -iname ".svn" -exec echo {}/.. ';' >>$tempfile 2>/dev/null
find $dirhere -follow -maxdepth $MAX_DEPTH -type d -iname ".git" -exec echo {}/.. ';' >>$tempfile 2>/dev/null
local additional_filter
find $dirhere -follow -maxdepth $MAX_DEPTH -type d -iname ".svn" -exec echo {}/.. ';' >>$tempfile 2>/dev/null
find $dirhere -follow -maxdepth $MAX_DEPTH -type d -iname ".git" -exec echo {}/.. ';' >>$tempfile 2>/dev/null