Skip to content

Commit

Permalink
'git-submodule-helper attach' fix
Browse files Browse the repository at this point in the history
* suggests remote branches
* no longer suggests 'origin/HEAD' or '(no branch)'
  • Loading branch information
timcharper committed Aug 3, 2009
1 parent 8ddea00 commit bcf69a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-submodule-helper
Expand Up @@ -92,7 +92,7 @@ submodule_helper_attach () {
if [ $? != 0 ]; then
echo "no known branch is currently at ${current_rev}"
echo "here are some suggestions: "
git branch --contains $current_rev
git branch --contains $current_rev -a | egrep -v 'no branch|HEAD'
exit 1
fi
rev=${line%% *}
Expand Down

0 comments on commit bcf69a7

Please sign in to comment.