nulltoken
3d78ab6427
revparse: split reflog test per feature
2012-07-07 12:16:12 +02:00
nulltoken
3cd90893a0
revparse: enhance upstream reflog test coverage
2012-07-07 12:16:11 +02:00
nulltoken
35bed94fd5
revparse: enhance refs/<name> coverage
2012-07-07 12:16:10 +02:00
nulltoken
cab65c2b23
revparse: detect incorrect "refname@{-n}" syntax
2012-07-07 12:16:08 +02:00
nulltoken
1decf88bc1
revparse: slightly improve readability of tests
2012-07-07 12:16:08 +02:00
nulltoken
34922eeeed
revparse: readonly tests don't need a sandboxed repo
2012-07-07 12:16:07 +02:00
nulltoken
d0a920a6fd
refs: deep unfound ref returns ENOTFOUND
2012-07-07 12:15:30 +02:00
nulltoken
75261421ec
refs: add git_reference_has_log()
2012-07-07 12:15:28 +02:00
nulltoken
b6bfd96fdd
refs: fix moving of the reflog when renaming a ref
2012-07-07 12:15:28 +02:00
Vicent Martí
b00e921605
Merge pull request #798 from nulltoken/fix/revparse-date
...
revparse: fix parsing of date specifiers
2012-07-03 12:38:09 -07:00
Carlos Martín Nieto
973ed4c9f0
repo tests: do cleanup reinit tests
2012-07-03 12:11:19 +02:00
nulltoken
494ae940a0
revparse: fix parsing of date specifiers
2012-07-02 19:56:41 +02:00
nulltoken
52b938d55a
revparse: unfound reflog entry returns ENOTFOUND
2012-06-29 17:23:18 +02:00
nulltoken
08ac23a5fd
revparse: unfound reflog ref returns ENOTFOUND
2012-06-29 17:23:10 +02:00
nulltoken
4de89ce72a
revparse: unfound partially-named ref returns ENOTFOUND
2012-06-29 17:22:43 +02:00
nulltoken
0e7af9e758
revparse: unfound nth parent returns ENOTFOUND
2012-06-28 19:12:42 +02:00
nulltoken
0d23c62c48
revparse: handle specs with caret and colon
2012-06-28 19:12:41 +02:00
nulltoken
5b68ba7e15
revparse: unfound treepath returns ENOTFOUND
2012-06-28 19:12:40 +02:00
nulltoken
faaa7c517c
revparse: return trees through the "colon" syntax
2012-06-28 19:12:40 +02:00
nulltoken
e28dd29b6e
revparse: replace spaces with tabs
2012-06-28 19:12:39 +02:00
Vicent Martí
ed754a75e1
Merge pull request #783 from nulltoken/topic/reinit-coverage
...
Repo reinit fix + enhanced test coverage
2012-06-25 23:28:17 -07:00
nulltoken
527ed55448
references: introduce git_reference_foreach_glob()
2012-06-22 21:40:24 +02:00
nulltoken
d046945cef
Fix MSVC compilation errors
2012-06-22 16:42:37 +03:00
nulltoken
d6d8cc276d
tests-clar: fix isolation of repo initialization tests
2012-06-22 13:42:35 +02:00
nulltoken
dbb24a3962
repository: enhance reinitialization test coverage
2012-06-22 11:32:50 +02:00
Michael Schubert
f7292a990c
tests-clar: mark unused variables
2012-06-22 10:13:50 +02:00
Vicent Martí
fb8aa9e11b
Merge pull request #782 from nulltoken/topic/branch-foreach
...
Branch foreach
2012-06-21 20:12:50 -07:00
nulltoken
d4827081ea
branch: drop git_branch_list()
2012-06-21 18:51:32 +02:00
nulltoken
a8fd805e2f
branch: add git_branch_foreach()
2012-06-21 18:51:27 +02:00
Michael Schubert
dca6b228d1
notes: fix memory leaks
2012-06-21 10:33:24 +02:00
Carlos Martín Nieto
9311423c34
tests: plug a leak in the repo tests
...
The second call to assert_config_entry_on_init_bytype is cleaned up by
the main cleanup function, but that overwrites the first _repo. Make
sure that one doesn't leak.
2012-06-21 02:30:30 +02:00
Ben Straub
eb6bc45f6d
Avoid uninitialized variable error.
2012-06-19 21:11:48 -07:00
Carlos Martín Nieto
cdca82c784
Plug a few leaks
2012-06-20 00:46:34 +02:00
Vicent Martí
c3ce8d0c9a
Merge pull request #775 from arrbee/fix-index-filemodes
...
Make index add/append support core.filemode flag
2012-06-19 15:17:35 -07:00
Vicent Martí
5232994072
Merge pull request #768 from nulltoken/topic/expose-message-prettify
...
message: Expose git_message_prettify()
2012-06-19 15:04:45 -07:00
Russell Belfer
da825c92d9
Make index add/append support core.filemode flag
...
This fixes git_index_add and git_index_append to behave more like
core git, preserving old filemode data in the index when adding
and/or appending with core.filemode = false.
This also has placeholder support for core.symlinks and
core.ignorecase, but those flags are not implemented (well,
symlinks has partial support for preserving mode information in
the same way that git does, but it isn't tested).
2012-06-19 14:27:02 -07:00
Ben Straub
2c90145aad
Fix potential segfault in revparse.
2012-06-19 09:25:55 -07:00
nulltoken
743a4b3bdd
message: Expose git_message_prettify()
...
git_commit() and git_tag() no longer prettify the
message by default. This has to be taken care of
by the caller.
This has the nice side effect of putting the
caller in position to actually choose to strip
the comments or not.
2012-06-19 10:02:22 +02:00
Vicent Martí
68f527c448
Merge pull request #758 from libgit2/config-values-containing-quotes
...
Quotes inside config values don't survive serialization/deserialization
2012-06-18 17:50:12 -07:00
Vicent Marti
8c4c357f18
clar: Fix warnings
2012-06-19 02:43:36 +02:00
Vicent Martí
31eed56b9e
Merge pull request #753 from nulltoken/topic/merge-base-many
...
Expose git_merge_base_many()
2012-06-18 17:36:14 -07:00
Vicent Marti
b93688d06d
Merge remote-tracking branch 'yorah/fix/notes-creation' into development
...
Conflicts:
src/notes.c
2012-06-19 02:33:03 +02:00
Vicent Marti
515a4c7c06
tree: Proper path comparison logic
2012-06-19 00:59:04 +02:00
Tim Clem
e00b56eb04
Fix broken tests caused by no longer prettifying by default
2012-06-15 10:18:08 -07:00
Carlos Martín Nieto
67d334c1cd
config: add more tests for writing escaped chars
2012-06-13 23:26:00 +02:00
Adam Roben
750be86aed
Add a test that shows we don't preserve quotes in config values
2012-06-13 21:43:34 +02:00
Frederick Ros
fa45d25f38
Fix issue #763
2012-06-13 17:35:13 +02:00
yorah
027d77ee5c
notes: simplify tests
2012-06-12 14:30:33 +02:00
nulltoken
7623b1b63f
repository: make git_repository_init() value the core.logallrefupdates config entry
2012-06-12 06:42:46 +02:00
nulltoken
976b69bdbb
repository: widen test coverage regarding initialization and configuration entries
2012-06-12 06:42:46 +02:00