Commit graph

22 commits

Author SHA1 Message Date
Fabien Potencier fd72641be1
Rename originBranch to origin 2024-03-08 14:12:51 +01:00
Fabien Potencier bd864e2ca6
Sanitize prefix values 2024-03-08 10:58:45 +01:00
Fabien Potencier 5dbf39b5b4
Add excluding directories support 2024-03-08 10:43:48 +01:00
Fabien Potencier ca1a6cef48
Move head check for a more aggressive use of cache 2024-03-08 08:09:53 +01:00
Fabien Potencier 8f693c4bc2
Fix a few lint issues 2024-03-07 15:26:05 +01:00
Fabien Potencier e6d25ea821
Remove dead code 2024-03-07 15:10:38 +01:00
Fabien Potencier 26da73eea4 Sync DB only at the end of splits 2024-03-06 12:53:42 +01:00
Fabien Potencier 5d55360bed Remove unneeded argument 2024-03-06 08:36:31 +01:00
Fabien Potencier f19d527a89 Use bbolt as boltdb is not maintained anymore 2024-03-01 19:35:06 +01:00
Karsten Dambekalns f54790e733
Use "original" libgit2/git2go
Works with libgit2 1.5.0 installed using ´brew install libgit2`
2022-10-06 19:37:16 +02:00
Morel Sébastien 493f39ffeb
Make it work with M1 2022-10-06 18:48:02 +02:00
Taylor Otwell 9b1b817de9 fallback value for committer email 2021-05-11 14:48:41 -05: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