(no title)
eLobato | 11 years ago
Still, what does %{scope} actually catch? Anything that's not %{type}, %{description} or an explicit character?
eLobato | 11 years ago
Still, what does %{scope} actually catch? Anything that's not %{type}, %{description} or an explicit character?
Gazler|11 years ago
So the match is exact between the non %{..} characters. The idea for scope is the context of the commit, in my libraries I use the name of the class as the scope.
For example with the default format string:
So any literal characters are matched exactly and anything inside the capturing %{...} is assigned to that variable.This does fall over in the following case:
It is certainly a candidate for improvement in the future.