Commit graph

16 commits

Author SHA1 Message Date
Fabien Potencier
f567acdfbb - 2019-03-03 09:20:01 +01:00
Fabien Potencier
973206e9c3 - 2019-03-03 09:20:01 +01:00
Fabien Potencier
76cd1d23fd - 2019-03-03 09:20:01 +01:00
Fabien Potencier
68c6f39079 - 2019-03-03 09:20:01 +01:00
Fabien Potencier
8adb0928ca - 2019-03-03 09:20:01 +01:00
Fabien Potencier
2990ce2f0c - 2019-03-03 09:19:35 +01:00
Joschka Tillmanns
9d643aa621 fix errors found by github.com/dominikh/go-tools/...
lite/splitter/result.go:76:15: should use time.Since instead of time.Now().Sub (S1012)
lite/splitter/state.go:433:25: should omit comparison to bool constant, can be simplified to !copyCommit (S1002)
lite/splitter/utils.go:13:25: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007)
lite/splitter/cache.go:90:17: func (*cache).reverse is unused (U1000)
2018-03-08 10:25:31 +01:00
Fabien Potencier
538f5638df fixed variable shadowing 2017-02-07 06:44:41 +01:00
Karsten Dambekalns
7b9ea56ae9
Use raw commit message when splitting repository
In case the repository to be splt contains commit messages with
leading newlines, the trimming that is applied when using
Commit.Message() can lead to changed hashes, when comparing to
the results git subsplit created.

Fixes #20
2016-09-09 15:46:51 +02:00
Fabien Potencier
8aff544b94 moved logic away from main 2016-07-31 10:35:17 -04:00
Fabien Potencier
0e97a5c4aa fixed edge case 2016-07-15 13:13:55 +02:00
Fabien Potencier
85bc0419ee added support for Git 1.9 behavior 2016-07-09 14:35:01 +02:00
Fabien Potencier
b70b0cc5ef made some code more readable (hopefully) 2016-06-07 09:02:47 +02:00
Inal Djafar
b65c9c44b4 Update cache.go
clean small redundancy
2016-06-06 19:27:45 +02:00
Pascal Borreli
f2610add66 Fixed typo 2016-06-06 16:48:26 +00:00
Fabien Potencier
7861d21ed4 added initial set of files 2016-06-06 18:27:55 +02:00