GithubHelp home page GithubHelp logo

Comments (12)

holzman avatar holzman commented on September 26, 2024

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.

akzhan avatar akzhan commented on September 26, 2024

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.

holzman avatar holzman commented on September 26, 2024

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.

thomasdeniau avatar thomasdeniau commented on September 26, 2024

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.

holzman avatar holzman commented on September 26, 2024

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.

thomasdeniau avatar thomasdeniau commented on September 26, 2024

No, it was recursive. (a result of git pull with the default strategy)

from git-commit-notifier.

holzman avatar holzman commented on September 26, 2024

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.

holzman avatar holzman commented on September 26, 2024

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.

thomasdeniau avatar thomasdeniau commented on September 26, 2024

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.

holzman avatar holzman commented on September 26, 2024

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.

thomasdeniau avatar thomasdeniau commented on September 26, 2024

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.

holzman avatar holzman commented on September 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.