On 2013-06-27, at 10:32, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 27/06/2013 10:14, Camillo Bruni a écrit :
I like the fact that I can do git log --pretty="%H" path_to_method_file, and I have all the hashes I need.
yeah but you have the "wrong" hash as the source includes the category :) I prefer storing the methods in subfolders which represent categories, so I keep the methods sources as clean as possible. For instance this way a recategorization is detected as a move by standard git tools. Now that I say, we should do the same for the classes :P.
In this case, how would you query git for all the versions of a method? If it is recategorized, you would not be able to see through the move, no?
if you store the category in the method you won't see a move of course, otherwise yes: https://github.com/pharo-project/pharo-core/commit/4383816cd432229a9977cfbe7...