Haus Chores
  1. Haus Chores
  2. HAUS-2220

git-commit-notifier not handling non UTF-8 characters

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Git
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Problems pushing to Codehaus repo due to post-commit failing.

      repo: ssh://git@git.codehaus.org/groovy-git.git
      commit id: 969c9e0
      branch: modularisation

      The commit is stored ok; just the email fails.

      remote: Sending mail...
      remote: /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/lib/git_commit_notifier/diff_to_html.rb:341:in `split': invalid byte sequence in UTF-8 (ArgumentError)
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/lib/git_commit_notifier/diff_to_html.rb:341:in `extract_commit_info_from_git_show_output'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/lib/git_commit_notifier/diff_to_html.rb:475:in `diff_for_commit'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/lib/git_commit_notifier/diff_to_html.rb:627:in `block in diff_for_branch'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/lib/git_commit_notifier/diff_to_html.rb:626:in `each'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/lib/git_commit_notifier/diff_to_html.rb:626:in `diff_for_branch'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/lib/git_commit_notifier/diff_to_html.rb:675:in `diff_between_revisions'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/lib/git_commit_notifier/commit_hook.rb:165:in `run'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/lib/git_commit_notifier/executor.rb:29:in `block in run!'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/lib/git_commit_notifier/executor.rb:27:in `each_line'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/lib/git_commit_notifier/executor.rb:27:in `run!'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/git-commit-notifier-0.11.2/bin/git-commit-notifier:15:in `<top (required)>'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/bin/git-commit-notifier:19:in `load'
      remote:     from /usr/local/rvm/gems/ruby-1.9.2-p180/bin/git-commit-notifier:19:in `<main>'
      To ssh://git@git.codehaus.org/groovy-git.git
      

        Activity

        There are no entries against this issue.

          People

          • Assignee:
            Ben Walding
            Reporter:
            Ben Walding
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 1 hour
              1h
              Remaining:
              Remaining Estimate - 1 hour
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified