In log show changes made only on selected branch

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

In log show changes made only on selected branch

SmartGit mailing list
In the Log view, when I select one branch, I would expect to see only changes that were made on that branch, but I see changes going back to before that branch was created, and I see several different branch lines.
 

 Is there a way to see just the changes made on a branch?  My use case is we created a branch a week ago and I want to see just the commits made on that branch since it was created.
Reply | Threaded
Open this post in threaded view
|

Re: In log show changes made only on selected branch

SmartGit mailing list
Are you using Git? Then this is not possible, because of the nature of branches in Git which actually are just a named pointer to a commit. Commits themselves don't have any branch information.

--
Best regards,
Thomas Singer
syntevo GmbH
http://www.syntevo.com
http://blog.syntevo.com


12/18/2014 17:20 - [hidden email] [smartgit] wrote:

> In the Log view, when I select one branch, I would expect to see only changes that
> were made on that branch, but I see changes going back to before that branch was
> created, and I see several different branch lines.
>  
>
>  Is there a way to see just the changes made on a branch?  My use case is we
> created a branch a week ago and I want to see just the commits made on that branch
> since it was created.
>
Reply | Threaded
Open this post in threaded view
|

Re: In log show changes made only on selected branch

SmartGit mailing list
We're using GitHub.  I would like to be able to tell the visual log tool to select just the commits that I can select from the git log command line, e.g. "git log --no-merges develop..".  In the git bash window, this command shows me just the commits on my current feature branch since it was created, but I don't get the nice file list and diff windows that SmartGit Log presents.
Reply | Threaded
Open this post in threaded view
|

Re: In log show changes made only on selected branch

SmartGit mailing list
> I would like to be able to tell the visual log tool to select
> just the commits that I can select from the git log command line, e.g. "git log
> --no-merges develop..".

I've tried that command on our current repository state and it simply shows nothing though, as I understand your request, it should show at least one commit. From the Git help --no-merges option should show only those commits that have just one parent, so it is a subset of what SmartGit shows in the Log - you just need to stop investigating commits earlier than the top-most merge commit.

--
Best regards,
Thomas Singer
syntevo GmbH
http://www.syntevo.com
http://blog.syntevo.com


12/18/2014 22:20 - [hidden email] [smartgit] wrote:

> We're using GitHub.  I would like to be able to tell the visual log tool to select
> just the commits that I can select from the git log command line, e.g. "git log
> --no-merges develop..".  In the git bash window, this command shows me just the
> commits on my current feature branch since it was created, but I don't get the
> nice file list and diff windows that SmartGit Log presents.
>