Comments (12)
Hi Thomas,
Sorry that you encountered a bug.
What git version are you using?
Is the repository you're using publicly available (so I can reproduce your exact merge?)
Thanks
from git-commit-notifier.
Looks like problem here, but I'm not at workplace today:
https://github.com/bitboxer/git-commit-notifier/blob/master/lib/git_commit_notifier/diff_to_html.rb#L437
https://github.com/bitboxer/git-commit-notifier/blob/master/lib/git_commit_notifier/diff_to_html.rb#L332
@holzman, please review.
from git-commit-notifier.
Thomas -- alternatively, if you can just paste the git log from the merge, that would be helpful. I have not been able to reproduce this yet.
from git-commit-notifier.
The repo is not public. I'll try to provide the log ASAP, but I'm leaving for a long holiday and I'm not sure I'll have access to my VPN anytime soon.
This merge was the result of a 'git pull'.
Hope this helps, I'll try to get the exact info soon.
from git-commit-notifier.
Ok. Any chance that the merge was an octopus merge rather than recursive? I don't think I'm handling octopus merges correctly (yet).
from git-commit-notifier.
No, it was recursive. (a result of git pull with the default strategy)
from git-commit-notifier.
Ok, thanks. I still haven't been able to reproduce it, so any more information you can send from your git log would help, along with the output from git --version and your config file.
from git-commit-notifier.
I haven't touched this in nearly 2 weeks, but I hate to leave this bug sitting around. Thomas, if you can get me any log information when you have time, I'd appreciate it.
from git-commit-notifier.
Sorry it took so long (I'm on vacation with almost no Internet access).
The error was produced when pushing this commit:
commit ccd83914882dabf10765ea796270682faaf64bcc
Merge: bd375ae 1579c6a
Date: Thu Sep 29 11:57:37 2011 +0200
Merge branch 'master' of <the repo origin URL>
The graph is like:
* ccd8391 Merge branch 'master' of ....
|\
| * 1579c6a ...
* | bd375ae ...
* | 5dcdd5d ...
|/
* 4e4572d ...
(Sorry for the ..., this is a private repo).
The user had last got commits from the server as of 4e45. He committed 5dcdd5d and bd375ae locally, then pulled, which merged the work with 1579c6a, and pushed. This produced the error message above.
from git-commit-notifier.
Thanks for the feedback, Thomas. We can obviously follow up when you're on vacation.
Unfortunately, I still was not able to reproduce this with the workflow you provided -- I simulated it with
* 2190b52 (HEAD, origin/master, origin/HEAD, master) Merge branch 'master' of /root/src |\ | * 9def93a 15 * | a1a2fa2 bd * | 66f51fb 5d |/ * 3c79b6a a
but that works ok and generates the merge mail ok.
When you return from vacation, please let me know the git version on your server; it's possible that some of the plumbing or porcelain changed and I'm not catching it.
from git-commit-notifier.
I think the version of git on my server is indeed the problem: it's still running git 1.6.1.3.
from git-commit-notifier.
All right, that nailed it down. The git log behavior changed between 1.6.1 and 1.6.2: gitster/git@7fcda92
I'll fix this and open another ticket on another potential problem with older git versions that I just noticed.
from git-commit-notifier.
Related Issues (20)
- add URL of repository HOT 2
- emphasizing first line of commit message HOT 3
- Set Reply-to to recipient address? HOT 5
- Pushing a new branch resulted in Iconv::IllegalSequence in diff_to_html HOT 5
- Creation of a branch triggers notification mails for ALL commits in the repository HOT 4
- Add parameter to gem HOT 5
- ${repo_name} is not getting expanded as the project name for gitweb URL's
- COMMIT_LINK_MAP for gitlabhq missing parent in url
- gitlabhq file_link feature produces 404s HOT 5
- support trac with multiple repositories HOT 1
- nokogiri 1.6.0 dropped support for ruby 1.8.3 HOT 1
- I've got a Permission problem with git-commit-notifier HOT 4
- Sorry for Problem again HOT 4
- How to change auther HOT 3
- Link file summary list to web view repository HOT 1
- Invalid multibyte escape
- Pushing to GitLab with link_files fails under ruby 2 HOT 1
- Commits suppressed with unique_commits_per_branch:false and include_branches:[...]
- How to config smtps(port 465) in the file of git-notifier-config.yml
- Tag/deploy new version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-commit-notifier.