Re: [git-users] Re: how to to check if a branch has changes not present in master?

2012-08-29 Thread Fred
and than does diff. since cherry-pick was later, it is not considered in diff. simple git diff master..branchB works in that case. I still wonder if there is a solution 2012/8/28 Fred fredga...@gmail.com javascript: On Tuesday, August 28, 2012 3:26:15 PM UTC+2, Michael Wang wrote: try git

Re: [git-users] Re: how to to check if a branch has changes not present in master?

2012-08-29 Thread Fred
On Wednesday, August 29, 2012 2:21:54 PM UTC+2, Michael Haggerty wrote: On 08/28/2012 04:51 PM, Fred wrote: git rev-list ist great, but it doesn't work for cherry picked commits do a cherry-pick commit from branchB into master. git rev-list master..branchB would show sha1

Re: [git-users] git branch --contains output incorrect?

2012-08-28 Thread Fred
On Monday, August 27, 2012 5:54:26 PM UTC+2, Michael Haggerty wrote: On 08/27/2012 11:30 AM, Fred wrote: I have two remote branches master and branchB. I've merged master into branchB with git checkout branchB git merge master. o---o---o---o- master \ \ o---o

[git-users] Re: how to to check if a branch has changes not present in master?

2012-08-28 Thread Fred
On Tuesday, August 28, 2012 1:15:08 PM UTC+2, Tim Chase wrote: On 08/28/12 05:47, Tim Chase wrote: On 08/28/12 03:13, Fred wrote: is there a way to check if a branch doesn't introduce changes, which are not in master. I'm partial to git diff my_branch ^master which

Re: [git-users] Re: how to to check if a branch has changes not present in master?

2012-08-28 Thread Fred
...@gmail.comjavascript: wrote: Hi.. On Tue, Aug 28, 2012 at 6:02 PM, Fred fredga...@gmail.com javascript: wrote: On Tuesday, August 28, 2012 1:15:08 PM UTC+2, Tim Chase wrote: On 08/28/12 05:47, Tim Chase wrote: On 08/28/12 03:13, Fred wrote: is there a way to check if a branch

[git-users] git branch --contains output incorrect?

2012-08-27 Thread Fred
Hello, I have two remote branches master and branchB. I've merged master into branchB with git checkout branchB git merge master. After that I did git rev-list master..branchB to see commits of branchB which are not in master and actually got some sha1 from master. So I decided to list

[git-users] execute hooks for submodules from global templates

2012-08-17 Thread Fred
Hello, I've defined a pre-commit hook in ~/.git_templates directory. It works great for all my git projects, except for submodules. If i do a commit in submodule directory pre-commit hook ist not executed. Is there a workaround? Fred -- You received this message because you are subscribed

[git-users] Re: execute hooks for submodules from global templates

2012-08-17 Thread Fred
Thanks! Re-clone helped On Friday, August 17, 2012 12:13:59 PM UTC+2, Thomas Ferris Nicolaisen wrote: On Friday, August 17, 2012 10:50:35 AM UTC+2, Fred wrote: Hello, I've defined a pre-commit hook in ~/.git_templates directory. It works great for all my git projects, except

Re: [git-users] execute hooks for submodules from global templates

2012-08-17 Thread Fred
=templatedir --recursive-submodules sourcerepo or something else? please share the exact command.. -Pankaj On Fri, Aug 17, 2012 at 2:20 PM, Fred fredga...@googlemail.comjavascript: wrote: Hello, I've defined a pre-commit hook in ~/.git_templates directory. It works great for all my git

[git-users] Warning: you are leaving 30 commits behind, not connected to any of your branches:

2012-08-17 Thread Fred
did we managed to have commits not connected to any of branches? Fred -- You received this message because you are subscribed to the Google Groups Git for human beings group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/eam9e4YzlGYJ. To post to this group

Re: [git-users] Warning: you are leaving 30 commits behind, not connected to any of your branches:

2012-08-17 Thread Fred
Khomoutov wrote: On Fri, 17 Aug 2012 06:35:24 -0700 (PDT) Fred fredga...@googlemail.com javascript: wrote: I've cloned a fresh repo with submodules and then cd library/module git checkout master it gives me a warning and I don't understand why and how to avoid it? Warning: you