Matt Rubin
|
31a755dd49
|
[Lint] Arguments should be either all on the same line, or one per line
|
2019-04-12 11:46:21 -04:00 |
|
Matt Rubin
|
9f3f9034ee
|
[Lint] Enforce consistent modifier order
|
2019-04-12 11:45:52 -04:00 |
|
Matt Rubin
|
6c27045ee8
|
[Lint] Align function parameters when wrapped over multiple lines
|
2019-04-12 11:43:32 -04:00 |
|
Matt Rubin
|
0c9fbe19ee
|
[Lint] Remove unnecessary nested typealiases
|
2019-04-12 11:40:34 -04:00 |
|
Matt Rubin
|
cf24dc9ed6
|
Migrate to the new method for Hashable conformance
|
2019-04-11 20:58:09 -04:00 |
|
Matt Rubin
|
e16d5c6baa
|
Remove redundant internal access modifier
|
2019-04-11 20:32:40 -04:00 |
|
Christian Tietze
|
455ac1143f
|
add specs for Repository.isValid
|
2018-09-26 08:43:09 +02:00 |
|
Christian Tietze
|
c5017fc6c9
|
add Repository.isValid, untested 😱
|
2018-09-26 07:41:38 +02:00 |
|
Yifei Teng
|
f152ad76b7
|
free parentGitCommits
|
2018-05-04 12:10:57 -05:00 |
|
Yifei Teng
|
4c7aa2a276
|
do not expose libgit2 objects on the public API
|
2018-05-02 11:33:34 -05:00 |
|
Yifei Teng
|
e6db3c0896
|
unsafeSignature -> makeUnsafeSignature()
|
2018-05-02 11:31:49 -05:00 |
|
Yifei Teng
|
84d4ae1e33
|
cleanup and persist index to disk during add() so that commit() can pick up the new index
|
2018-05-02 11:28:07 -05:00 |
|
Yifei Teng
|
026548be12
|
correctly determine timezone offset
|
2018-05-02 11:28:07 -05:00 |
|
Yifei Teng
|
3db2d73e6e
|
be more clear with naming and additional guard
|
2018-05-02 11:28:07 -05:00 |
|
Yifei Teng
|
f229778abb
|
tabbing
|
2018-05-02 11:28:07 -05:00 |
|
Yifei Teng
|
b193c80dc0
|
implement git commit
|
2018-05-02 11:28:07 -05:00 |
|
Yifei Teng
|
81d2fb210a
|
make unsafe functions internal
|
2018-05-01 13:00:12 -05:00 |
|
Yifei Teng
|
b6e94b291c
|
add tests for git-add
|
2018-04-30 19:43:40 -05:00 |
|
Yifei Teng
|
f9d7bd3b61
|
add support for unsafeIndex and git-add
|
2018-04-30 19:43:35 -05:00 |
|
Yifei Teng
|
b1d3488d4c
|
update to Swift 4
Travis does not recognize 9.3?
fix swift 4.1 deprecations
fix more swift 4.1 deprecation
use Xcode 9.3 in CI
|
2018-04-30 17:30:28 -05:00 |
|
Carl Wieland
|
4d76f87912
|
Fix mismatched status types
Fixes this issue:
https://github.com/SwiftGit2/SwiftGit2/issues/119
Uses the libgit2 values to ensure no future problems arise.
|
2018-03-26 16:01:05 -04:00 |
|
Jake Van Alstyne 🎩
|
97ee009ac5
|
Defer release status list
|
2018-02-09 14:29:51 -07:00 |
|
Jake Van Alstyne 🎩
|
6e5703dab7
|
another deferred release
|
2018-02-08 14:09:38 -07:00 |
|
Jake Van Alstyne 🎩
|
1f23feb0c5
|
move one more defer
|
2018-02-07 18:22:05 -07:00 |
|
Jake Van Alstyne 🎩
|
118ba43fce
|
Move deferred memory releases to avoid leaks in case of an error
|
2018-02-07 18:16:58 -07:00 |
|
Jake Van Alstyne 🎩
|
6f59ce5cf3
|
Factor out common diff processing code for simplicity
|
2018-02-02 11:45:21 -07:00 |
|
Jake Van Alstyne 🎩
|
0dab27d07b
|
Remove the necessity of the caller of diff to clean up memory and address other PR comments
|
2018-01-11 19:44:29 -07:00 |
|
Jake Van Alstyne 🎩
|
0397b29d24
|
refactor diff calls to be memory safe
- use existing `withGitObject` method
- introduce extended version that can handle multiple git objects for the purpose of handling multiple parents
|
2018-01-08 20:38:32 -07:00 |
|
Jake Van Alstyne 🎩
|
1a369b7e9e
|
Refactor method for calculating diffs to read more cleanly and be safer with memory.
|
2018-01-05 17:09:01 -07:00 |
|
Jake Van Alstyne 🎩
|
87af7fcb32
|
Address lint in method calls
|
2018-01-05 17:08:12 -07:00 |
|
Jake Van Alstyne 🎩
|
9a9b7a9be8
|
More detailed tests
|
2017-12-17 14:33:01 -07:00 |
|
Jake Van Alstyne 🎩
|
26f1bb7c86
|
Fix for spec failing because only the diff for the first parent was calculated.
|
2017-12-17 14:06:24 -07:00 |
|
Jake Van Alstyne 🎩
|
f98664ecb3
|
Merge branch 'master' into develop
Conflicts:
SwiftGit2/CommitIterator.swift
SwiftGit2Tests/RepositorySpec.swift
|
2017-12-16 14:41:06 -07:00 |
|
Chris Eidhof
|
225f391171
|
Fetching remotes
|
2017-12-16 15:06:54 +01:00 |
|
Jake Van Alstyne 🎩
|
d8ee830173
|
Merge branch 'master' into develop
|
2017-12-15 13:40:42 -07:00 |
|
Matt Diephouse
|
c7bf00201e
|
Remove trailing whitespace
|
2017-12-15 15:02:34 -05:00 |
|
Matt Diephouse
|
09ac23471b
|
Fix build with Xcode 9.2
|
2017-12-14 15:08:17 -05:00 |
|
Jake Van Alstyne 🎩
|
db0a955e03
|
clean up various xcode warnings
|
2017-11-17 16:49:16 -07:00 |
|
Jake Van Alstyne 🎩
|
a9f79a3b80
|
address some PR comments
|
2017-11-17 16:22:37 -07:00 |
|
Jake Van Alstyne 🎩
|
efe1d6eeeb
|
update for swift 4.0 nuances
|
2017-11-10 15:21:35 -07:00 |
|
Jake Van Alstyne 🎩
|
8bb6e30ff4
|
refactor the repository diff to rely on flatmaps to propogate errors
|
2017-09-15 19:26:31 -06:00 |
|
Jake Van Alstyne 🎩
|
d7154e6f40
|
init a StatusEntry with an initializer that takes in a git_status_entry
|
2017-09-08 17:19:05 -06:00 |
|
Jake Van Alstyne 🎩
|
5f4043bb0e
|
On second thought, I believe StatusEntry should not be a sub struct of Diff since it has references to two Diff Deltas but itself is not a Diff and not used by anything contained within Diff. It is conceptually different.
|
2017-09-08 17:13:05 -06:00 |
|
Jake Van Alstyne 🎩
|
3b9beac923
|
simplify things by extracting difficult to read libgit2 interactions into helper functions and nest the various Diff structs inside a struct named Diff
|
2017-09-08 17:10:06 -06:00 |
|
Jake Van Alstyne 🎩
|
0d56e1b1ce
|
these evidently need to be explicitly public since they are internal by default
|
2017-09-01 17:52:22 -06:00 |
|
Jake Van Alstyne 🎩
|
2cff52a3d3
|
create an initializer for DiffFile
|
2017-09-01 17:25:59 -06:00 |
|
Jake Van Alstyne 🎩
|
8730bb2d8d
|
refactor how we initialize Status, let the consumer of this library decide what the different statuses returned by libgit2 mean rather than imposing our own assumptions
|
2017-09-01 17:22:20 -06:00 |
|
Jake Van Alstyne 🎩
|
046d67ed97
|
use the DiffFlag struct instead of a UInt32
|
2017-09-01 17:16:25 -06:00 |
|
Jake Van Alstyne 🎩
|
48b804846f
|
refactor how we initialize a DiffDelta using an initializer
|
2017-09-01 17:14:15 -06:00 |
|
Jake Van Alstyne 🎩
|
bf2bc2ed88
|
also should check success of git_status_init_options
|
2017-09-01 16:45:48 -06:00 |
|