Skip to content

Commit

Permalink
Merge branch 'werdnum-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
tdd committed Apr 26, 2015
2 parents aba5fbf + 6bdeb2a commit 1e0b2ec
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions git-stree
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,16 @@ function error
# Command: `git stree forget`
function forget_subtrees
{
if [ -n "${args[1]}" ]; then
error false "This is not the command you're looking for.
git stree forget removes all subtrees defined for this repository. You
specified a specific subtree (${args[1]}) on the command line, so you probably
want:
git stree rm ${args[1]}"
fi

for name in $(get_subtree_list simple); do
rm_subtree "$name" && discreet "• Removed subtree '$name'"
done
Expand Down

0 comments on commit 1e0b2ec

Please sign in to comment.