# Missing Git commits

**URL:** https://www.finalbuilder.com/forums/t/missing-git-commits/5987
**Category:** Bugs
**Created:** [August 13, 2015, 4:13am UTC](https://www.finalbuilder.com/forums/t/missing-git-commits/5987 "2015-08-13T04:13:13Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![stuy](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ee7513/32.png) [@stuy](https://www.finalbuilder.com/forums/u/stuy)
#### Post date: [August 13, 2015, 4:13am UTC](https://www.finalbuilder.com/forums/t/missing-git-commits/5987/1 "2015-08-13T04:13:13Z")

</div>

As of 1.6.0.305, there seems to be a problem with Git repos. &nbsp;When I push some changes to any of my repos, then poll the repo or manually trigger a build, I can see all the new changes, but only against one branch (“master”). &nbsp;They do not appear on the branch which I am actually building (“testing”, in this case), so the changes never make it into the build. &nbsp;The changes have been successfully pushed to testing, but the only way I can get Continua to recognise them is to manually reset the repositories via the CI Server admin page.  
  
cheers,  
-StuY

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [August 14, 2015, 1:08am UTC](https://www.finalbuilder.com/forums/t/missing-git-commits/5987/2 "2015-08-14T01:08:48Z")

</div>

Hi&nbsp;StuY,  
  
We did make some changes in this area, to ensure that we get all changes after a merge of two heads of the same branch. I’ll do some further testing on this today.   
  
Meanwhile it would help our investigation if you could&nbsp;send the output from git log showing the relevant commits&nbsp;to [support@finalbuilder.com](mailto:support@finalbuilder.com)&nbsp;. The following command line would include the most relevant information: &nbsp;“git log --graph --decorate --source --topo-order --parents -m --all”. You can add “-n X” to limit the number of commits shown.   
  
If you could also&nbsp;[enable debug logging](http://wiki.finalbuilder.com/display/continua/Debug+Logging)&nbsp;and send us the log after reproducing the issue this would help us find the cause of the issue quicker.

---

<div class="post-metadata">

### Author: ![walliski](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/walliski/32/169_2.png) [@walliski](https://www.finalbuilder.com/forums/u/walliski)
#### Post date: [August 18, 2015, 3:01am UTC](https://www.finalbuilder.com/forums/t/missing-git-commits/5987/3 "2015-08-18T03:01:57Z")

</div>

Hi Dave,   
  
 I’ve noticed that the fix you did made it work seemingly fine for us. However today I noticed an issue with this again, when I did a new branch (‘feature-1’) from HEAD on ‘develop’ branch. The first commit I did on the ‘feature-1’ branch did not show up in the changes, but the rest of it did. As previous it is not something that happens all the time. I am currently on version 1.7.0.80. Unfortunately the guy with login to the server is not here at the moment so I cannot provide you with more info.   
  
  ![]()   
  
 //Walliski

---

<div class="post-metadata">

### Author: ![walliski](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/walliski/32/169_2.png) [@walliski](https://www.finalbuilder.com/forums/u/walliski)
#### Post date: [August 18, 2015, 3:03am UTC](https://www.finalbuilder.com/forums/t/missing-git-commits/5987/4 "2015-08-18T03:03:00Z")

</div>

Well… My image should link here: [http://i.imgur.com/7pGIGnj.png](http://i.imgur.com/7pGIGnj.png) (great paint skills)

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [August 19, 2015, 1:26am UTC](https://www.finalbuilder.com/forums/t/missing-git-commits/5987/5 "2015-08-19T01:26:58Z")

</div>

Hi Walliski,  
  
Please install [v1.7.0.93](https://www.finalbuilder.com/downloads/continuaci/continuaci-version-history-v1.7). This includes a fix for an issue where a changeset on multiple branches would only appear on one branch.  
  
If you still are seeing discrepancies after installing the latest version we would need some further details as we are not able to reproduce this.  
  
Could you write the output of “git log --graph --decorate --source --topo-order --parents -m --all” to a file. &nbsp;Add the argument “-n X” to limit the number of commits to those that are relevant.&nbsp;Run this in your Git local clone folder and send the file to&nbsp;[support@finalbuilder.com](mailto:support@finalbuilder.com).&nbsp;  
  
Also [enable debug logging](http://wiki.finalbuilder.com/display/continua/Debug+Logging) and restart the server. If you can then reproduce the issue with a new set of commits, send the debug log to us along with a git log output containing these new commits.

---

<div class="post-metadata">

### Author: ![walliski](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/walliski/32/169_2.png) [@walliski](https://www.finalbuilder.com/forums/u/walliski)
#### Post date: [August 19, 2015, 7:21am UTC](https://www.finalbuilder.com/forums/t/missing-git-commits/5987/6 "2015-08-19T07:21:37Z")

</div>

Well the commit was only done in one branch at the moment as you can see from the image I linked, so it should not be a problem with the commit showing up multiple times. In fact after merging with the develop branch the commit appears in develop but still not in the feature branch. But yes, I will probably upgrade sometimes when the guy that has admin access to the server shows up…   
  
And reproducing is difficult as this has happened only once on about 10 feature branches and 100 commits as far as I have noticed.

---

<div class="post-metadata">

### Author: ![stuy](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ee7513/32.png) [@stuy](https://www.finalbuilder.com/forums/u/stuy)
#### Post date: [April 24, 2016, 10:51am UTC](https://www.finalbuilder.com/forums/t/missing-git-commits/5987/7 "2016-04-24T10:51:35Z")

</div>

I am seeing identical symptoms again with v1.8.0.96 and the last 1.7 build that I had installed. Commits are being detected, but only on the master branch, not on the branches that I build. The only workaround seems to be to reset the repos; I need to do this every time I want to make a build.   
  
 I will email the same debugging info as before in case that helps.   
  
 Cheers,   
 -Stu
