Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Recent versions of git refuse -700, must be -0700 #11

Merged
merged 1 commit into from

2 participants

@bronson

According to this Git commit, gitrb was creating invalid commits: git/git@daae192

@bronson

Fixing existing repositories is dead easy, just run every commit through a no-op environment filter and Git fixes everything itself:

git filter-branch --env-filter '' --tag-name-filter cat HEAD

This is a rebase, of course, so everyone who has cloned your repository will need to delete their local copies and clone again.

@minad minad merged commit bec4f21 into minad:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 23, 2011
  1. @bronson
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/gitrb/user.rb
View
2  lib/gitrb/user.rb
@@ -11,7 +11,7 @@ def initialize(name, email, date = Time.now)
def dump
off = date.gmt_offset / 60
- '%s <%s> %d %s%02d%02d' % [name, email, date.to_i, off < 0 ? '' : '+', off / 60, off % 60]
+ '%s <%s> %d %s%02d%02d' % [name, email, date.to_i, off < 0 ? '-' : '+', off.abs / 60, off % 60]
end
def self.parse(user)
Something went wrong with that request. Please try again.