Re: [git-users] Needc explanation of the differences between GIT and SVN

2014-09-18 Thread Konstantin Khomoutov
On Wed, 17 Sep 2014 22:25:50 +0400 Konstantin Khomoutov wrote: I was in a hurry writing my response, so it requires a number of minor corrections which are inlined. [...] Sometimes, Git tells me something like this: Cannot switch to another branch

[git-users] Modifying merge and squash commits in a subtree using hooks

2014-09-18 Thread Vineet Naik
Hi, We use a commit-msg hook to add ChangeId (for gerrit) in each commit msg. Now I want to ensure that it's also added in merge and squash commits created as a result of `git subtree ... --squash`. So I tried using `prepare-commit-msg` hook but it doesn't seem to get called at the time of