Defect #7657

Wrong commit range in git log command on Windows

Added by Toshi MARUYAMA almost 7 years ago. Updated about 6 years ago.

Status:ClosedStart date:2011-02-18
Priority:NormalDue date:
Assignee:Toshi MARUYAMA% Done:

0%

Category:SCM
Target version:1.2.0
Resolution:Fixed Affected version:1.1.1

Description

$ ruby test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
R:/work/hg-workdir/redmine-my-work/test/test_helper.rb:419: warning: don't put s
pace before argument parentheses
r:/Ruby186/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Wa
rning: Gem::Dependency#version_requirements is deprecated and will be removed on
 or after August 2010.  Use #requirement
Loaded suite test/unit/lib/redmine/scm/adapters/git_adapter_test
Started
....fatal: ambiguous argument '899a15d^.."899a15d': unknown revision or path not
 in the working tree.
Use '--' to separate paths from revisions
E.......
Finished in 0.8112 seconds.

  1) Error:
test_getting_certain_revisions(GitAdapterTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.length
    test/unit/lib/redmine/scm/adapters/git_adapter_test.rb:36:in `test_getting_c
ertain_revisions'

12 tests, 26 assertions, 0 failures, 1 errors

$ git --version
git version 1.7.4.msysgit.0

Related issues

Related to Redmine - Defect #5628: Wrong commit range in git log command Closed 2010-06-01

Associated revisions

Revision 4887
Added by Toshi MARUYAMA over 6 years ago

scm: git: fix wrong commit range in git log command on Windows (#7657).

History

#1 Updated by Toshi MARUYAMA over 6 years ago

  • Status changed from New to Closed
  • Target version set to 1.2.0
  • Resolution set to Fixed

Fixed by r4887.

#2 Updated by Jean-Philippe Lang over 6 years ago

  • Status changed from Closed to Reopened

#3 Updated by Toshi MARUYAMA over 6 years ago

  • Status changed from Reopened to Closed

Sorry, I fixed in r4893.

#4 Updated by Vergil Crocker about 6 years ago

SPAM

Also available in: Atom PDF