Edgewall Software

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11715 closed defect (fixed)

Failures of unit tests with old versions of git executable

Reported by: Jun Omae Owned by: Jun Omae
Priority: normal Milestone: 1.0.2
Component: plugin/git Version: 1.0-stable
Severity: normal Keywords:
Cc: Branch:
Release Notes:

Fixed failures of unit tests with git 1.5.6 to 1.6.5.

API Changes:
Internal Changes:

Description (last modified by Jun Omae)

According to TracGit, Trac supports git 1.5.6 and later.

We try to maintain backward compatibility with versions of Git as old as 1.5.6, up to the latest. Better use a recent version however.

However, in fact unit tests failed with both and

Git Results FAILED (failures=24, errors=12) FAILED (failures=6, errors=12) OK OK
1.9.4 OK
2.0.4 OK
2.1.0 OK

We should fix the failures, otherwise update supported versions in TracGit. I'll investigate it….

Attachments (0)

Change History (3)

comment:1 by Jun Omae, 8 years ago

Milestone: next-stable-1.0.x1.0.2
Owner: set to Jun Omae
Status: newassigned

Proposed changes can be found in jomae.git@t11715. Only unit tests have this issue. The following lead this issue;

  • git init accepts an extra argument since 1.6.5.
  • git commit accepts --date option since 1.7.0.

I'll push to 1.0-stable later.

comment:2 by Jun Omae, 8 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Committed in [13068] and merged to trunk in [13069].

comment:3 by Jun Omae, 8 years ago

Description: modified (diff)

Unit tests pass with Git 2.1.0, which is released on 2014-08-15.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.