intersystems-community / cache-tort-git

Access to Tortoise Git interface from Caché Studio
https://github.com/intersystems-ru/cache-tort-git/wiki
MIT License
31 stars 20 forks source link

Project hooks #33

Closed eduard93 closed 8 years ago

eduard93 commented 8 years ago

Here's an idea: hooks for projects. I got 3 implementations:

Ideas? I require it for MDX2JSON (need to execute 1 action before commit), but I want my changes integrated into master branch so let's work out a solution for everybody.

eduard93 commented 8 years ago

I'm all for second one, I guess.

eduard93 commented 8 years ago

%SourceControl.Git.Utils:UserAction -> elseif ..IsMenuGitCommand(menuItemName)

adaptun commented 8 years ago

Hooks to hooks. Fruitful idea.

What do you need to do before commit?

Can you do this with Tortoise Git Hook Scripts?

eduard93 commented 8 years ago

What do you need to do before commit?

I want to set last successful commit as parameter in one class and this class. Too many versions floating around and I want to identify it immediately and not by studying code

Can you do this with Tortoise Git Hook Scripts?

Actually, probably yes, but it's really an internal Cache operation.