]> git.proxmox.com Git - libgit2.git/log
libgit2.git
10 years agoUpdate clar to 4b75388
Edward Thomson [Sat, 29 Mar 2014 00:54:43 +0000 (17:54 -0700)]
Update clar to 4b75388

10 years agoMerge pull request #2214 from ethomson/sandbox_config
Vicent Marti [Fri, 28 Mar 2014 18:03:37 +0000 (19:03 +0100)]
Merge pull request #2214 from ethomson/sandbox_config

RFC: Sandbox HOME during test execution

10 years agoSandbox configuration during test runs
Edward Thomson [Fri, 28 Mar 2014 17:10:59 +0000 (10:10 -0700)]
Sandbox configuration during test runs

10 years agoUpdate clar to 587f88a
Edward Thomson [Fri, 28 Mar 2014 17:09:13 +0000 (10:09 -0700)]
Update clar to 587f88a

10 years agoMerge pull request #2212 from libgit2/rb/submodule-use-after-free
Vicent Marti [Thu, 27 Mar 2014 22:40:28 +0000 (23:40 +0100)]
Merge pull request #2212 from libgit2/rb/submodule-use-after-free

Fix use-after-free in submodule reload code and other memory leaks

10 years agoFix memory leak of test repository object
Russell Belfer [Thu, 27 Mar 2014 22:29:32 +0000 (15:29 -0700)]
Fix memory leak of test repository object

10 years agoFix memory leak of submodule branch name
Russell Belfer [Thu, 27 Mar 2014 22:29:17 +0000 (15:29 -0700)]
Fix memory leak of submodule branch name

10 years agoFix use-after-free in submodule reload
Russell Belfer [Thu, 27 Mar 2014 22:28:29 +0000 (15:28 -0700)]
Fix use-after-free in submodule reload

If the first call to release a no-longer-existent submodule freed
the object, the check if a second is needed would dereference the
data that was just freed.

10 years agoMerge pull request #2210 from libgit2/rb/submodule-api-with-no-submodules
Vicent Marti [Thu, 27 Mar 2014 07:32:46 +0000 (08:32 +0100)]
Merge pull request #2210 from libgit2/rb/submodule-api-with-no-submodules

Fix segfault if gitmodules is invalid

10 years agoFix error when submodule path and name differ
Russell Belfer [Wed, 26 Mar 2014 23:06:21 +0000 (16:06 -0700)]
Fix error when submodule path and name differ

When a submodule was inserted with a different path and name, the
return value from khash greater than zero was allowed to propagate
back out to the caller when it should really be zeroed.  This led
to a possible crash when reloading submodules if that was the
first time that submodule data was loaded.

10 years agoFix segfault if gitmodules is invalid
Russell Belfer [Wed, 26 Mar 2014 21:38:26 +0000 (14:38 -0700)]
Fix segfault if gitmodules is invalid

The reload_all call could end up dereferencing a NULL pointer if
there was an error while attempting to load the submodules config
data (i.e. invalid content in the gitmodules file).  This fixes it.

10 years agoMerge pull request #2209 from ethomson/cleanup
Vicent Marti [Wed, 26 Mar 2014 18:37:01 +0000 (19:37 +0100)]
Merge pull request #2209 from ethomson/cleanup

Cleanup some warnings and mem leaks

10 years agoFree temporary merge index
Edward Thomson [Wed, 26 Mar 2014 17:43:41 +0000 (12:43 -0500)]
Free temporary merge index

10 years agoDecorate unused params as unused in revwalk::hidecb tests
Edward Thomson [Wed, 26 Mar 2014 17:33:37 +0000 (12:33 -0500)]
Decorate unused params as unused in revwalk::hidecb tests

10 years agoMerge pull request #2204 from libgit2/rb/submodule-reference-counting
Vicent Marti [Wed, 26 Mar 2014 17:29:34 +0000 (18:29 +0100)]
Merge pull request #2204 from libgit2/rb/submodule-reference-counting

Make submodules externally refcounted

10 years agoMerge pull request #2205 from libgit2/rb/submodule-untracked-vs-ignored
Vicent Marti [Wed, 26 Mar 2014 09:29:11 +0000 (10:29 +0100)]
Merge pull request #2205 from libgit2/rb/submodule-untracked-vs-ignored

Update behavior for untracked contained repositories

10 years agoMerge pull request #2166 from ethomson/giterr_restore
Vicent Marti [Wed, 26 Mar 2014 09:27:42 +0000 (10:27 +0100)]
Merge pull request #2166 from ethomson/giterr_restore

clone: don't overwrite original error message

10 years agoclone: don't overwrite original error message
Edward Thomson [Fri, 7 Mar 2014 00:00:52 +0000 (16:00 -0800)]
clone: don't overwrite original error message

10 years agoTest for giterr_capture
Edward Thomson [Tue, 25 Mar 2014 00:48:54 +0000 (17:48 -0700)]
Test for giterr_capture

10 years agoFix submodule leaks and invalid references
Russell Belfer [Tue, 25 Mar 2014 23:52:01 +0000 (16:52 -0700)]
Fix submodule leaks and invalid references

This cleans up some places I missed that could hold onto submodule
references and cleans up the way in which the repository cache is
both reloaded and released so that existing submodule references
aren't destroyed inappropriately.

10 years agoUpdate behavior for untracked sub-repos
Russell Belfer [Tue, 25 Mar 2014 19:37:05 +0000 (12:37 -0700)]
Update behavior for untracked sub-repos

When a directory containing a .git directory (or even just a plain
gitlink) was found, libgit2 was going out of its way to treat it
specially.  This seemed like it was necessary because the diff
code was not originally emulating Git's behavior for untracked
directories correctly (i.e. scanning for ignored vs untracked items
inside).  Now that libgit2 diff mimics Git's untracked directory
behavior, the special handling for contained Git repos is actually
incorrect and this commit rips it out.

10 years agoMerge pull request #2181 from anuraggup/hide_cb
Edward Thomson [Tue, 25 Mar 2014 17:33:18 +0000 (10:33 -0700)]
Merge pull request #2181 from anuraggup/hide_cb

Callback function to hide commit and its parents in revision walker

10 years agoMake submodules externally refcounted
Russell Belfer [Tue, 25 Mar 2014 16:14:48 +0000 (09:14 -0700)]
Make submodules externally refcounted

`git_submodule` objects were already refcounted internally in case
the submodule name was different from the path at which it was
stored.  This makes that refcounting externally used as well, so
`git_submodule_lookup` and `git_submodule_add_setup` return an
object that requires a `git_submodule_free` when done.

10 years agoModified test for revwalk_hidecb
Anurag Gupta [Mon, 24 Mar 2014 18:02:02 +0000 (11:02 -0700)]
Modified test for revwalk_hidecb

10 years agoCorrecting format of comments in header file
Anurag Gupta [Tue, 11 Mar 2014 19:13:29 +0000 (12:13 -0700)]
Correcting format of comments in header file

10 years agoUndoing local change done for building on x64
Anurag Gupta [Tue, 11 Mar 2014 18:56:26 +0000 (11:56 -0700)]
Undoing local change done for building on x64

10 years agoConforming to libgit2 coding style.
Anurag Gupta [Tue, 11 Mar 2014 18:49:19 +0000 (11:49 -0700)]
Conforming to libgit2 coding style.

10 years agoRemove unused push_cb_data
Anurag Gupta [Mon, 10 Mar 2014 23:21:56 +0000 (16:21 -0700)]
Remove unused push_cb_data

10 years agoUnit Tests for hide_cb in revwalk
Anurag Gupta [Mon, 10 Mar 2014 22:38:01 +0000 (15:38 -0700)]
Unit Tests for hide_cb in revwalk

10 years agoCallback to hide commits in revision walker.
Anurag Gupta [Mon, 10 Mar 2014 19:00:33 +0000 (12:00 -0700)]
Callback to hide commits in revision walker.

10 years agoMerge pull request #2201 from ethomson/gitbuf_test_fix
Russell Belfer [Mon, 24 Mar 2014 17:58:10 +0000 (10:58 -0700)]
Merge pull request #2201 from ethomson/gitbuf_test_fix

env test needs to deref git_buf's ptr

10 years agoenv test needs to deref git_buf's ptr
Edward Thomson [Mon, 24 Mar 2014 17:56:11 +0000 (10:56 -0700)]
env test needs to deref git_buf's ptr

10 years agoMerge pull request #2183 from ethomson/merge_refactor
Vicent Marti [Mon, 24 Mar 2014 17:09:13 +0000 (18:09 +0100)]
Merge pull request #2183 from ethomson/merge_refactor

Refactor the `git_merge` API

10 years agoMerge pull request #2200 from libgit2/cmn/opts-buf
Vicent Marti [Mon, 24 Mar 2014 12:52:02 +0000 (13:52 +0100)]
Merge pull request #2200 from libgit2/cmn/opts-buf

settings: use git_buf for returning strings

10 years agoopts: bits are not bytes
Carlos Martín Nieto [Sun, 23 Mar 2014 14:48:13 +0000 (15:48 +0100)]
opts: bits are not bytes

The default cache size is 256 megabytes, not megabits as claimed in the
docs.

10 years agosettings: use git_buf for returning strings
Carlos Martín Nieto [Sun, 23 Mar 2014 12:34:33 +0000 (13:34 +0100)]
settings: use git_buf for returning strings

This survived the last round of culling, as the signature is only in the
comments.

10 years agoMerge pull request #2197 from linquize/assert-wrong
Vicent Marti [Fri, 21 Mar 2014 11:25:53 +0000 (12:25 +0100)]
Merge pull request #2197 from linquize/assert-wrong

Fix wrong assertion

10 years agoFix wrong assertion
Linquize [Fri, 21 Mar 2014 09:36:34 +0000 (17:36 +0800)]
Fix wrong assertion

Fixes issue #2196

10 years agoMerge pull request #2195 from libgit2/cmn/revwalk-no-hide
Vicent Marti [Thu, 20 Mar 2014 20:06:23 +0000 (21:06 +0100)]
Merge pull request #2195 from libgit2/cmn/revwalk-no-hide

revwalk: don't try to find merge bases when there can be none

10 years agorevwalk: don't try to find merge bases when there can be none
Carlos Martín Nieto [Thu, 20 Mar 2014 19:24:11 +0000 (20:24 +0100)]
revwalk: don't try to find merge bases when there can be none

As a way to speed up the cases where we need to hide some commits, we
find out what the merge bases are so we know to stop marking commits as
uninteresting and avoid walking down a potentially very large amount of
commits which we will never see. There are however two oversights in
current code.

The merge-base finding algorithm fails to recognize that if it is only
given one commit, there can be no merge base. It instead walks down the
whole ancestor chain needlessly. Make it return an empty list
immediately in this situation.

The revwalk does not know whether the user has asked to hide any commits
at all. In situation where the user pushes multiple commits but doesn't
hide any, the above fix wouldn't do the trick. Keep track of whether the
user wants to hide any commits and only run the merge-base finding
algorithm when it's needed.

10 years agoMerge pull request #2194 from libgit2/cmn/reflog-bare
Vicent Marti [Thu, 20 Mar 2014 19:08:01 +0000 (20:08 +0100)]
Merge pull request #2194 from libgit2/cmn/reflog-bare

reflog: follow core.logallrefupdates

10 years agoreflog: remove some dead code
Carlos Martín Nieto [Thu, 20 Mar 2014 08:55:47 +0000 (09:55 +0100)]
reflog: remove some dead code

10 years agoreflog: follow core.logallrefupdates
Carlos Martín Nieto [Wed, 19 Mar 2014 21:27:23 +0000 (22:27 +0100)]
reflog: follow core.logallrefupdates

On bare by default, or when core.logallrefupdates is false, we must not
write the reflog.

10 years agoUNBORN implies FAST_FORWARD
Edward Thomson [Thu, 20 Mar 2014 16:35:22 +0000 (09:35 -0700)]
UNBORN implies FAST_FORWARD

10 years agoIntroduce GIT_MERGE_ANALYSIS_UNBORN
Edward Thomson [Tue, 18 Mar 2014 23:04:51 +0000 (16:04 -0700)]
Introduce GIT_MERGE_ANALYSIS_UNBORN

10 years agogit_merge_status -> git_merge_analysis
Edward Thomson [Tue, 18 Mar 2014 20:14:09 +0000 (13:14 -0700)]
git_merge_status -> git_merge_analysis

10 years agoRemove `git_merge_result` as it's now unnecessary
Edward Thomson [Wed, 12 Mar 2014 16:43:53 +0000 (09:43 -0700)]
Remove `git_merge_result` as it's now unnecessary

10 years agoUpdate git_merge_tree_opts to git_merge_options
Edward Thomson [Wed, 12 Mar 2014 05:47:39 +0000 (22:47 -0700)]
Update git_merge_tree_opts to git_merge_options

10 years agoChange signature of `git_merge` to take merge and checkout opts
Edward Thomson [Wed, 12 Mar 2014 01:40:38 +0000 (18:40 -0700)]
Change signature of `git_merge` to take merge and checkout opts

10 years agoRemove fastforward / uptodate from `git_merge`
Edward Thomson [Wed, 12 Mar 2014 00:58:10 +0000 (17:58 -0700)]
Remove fastforward / uptodate from `git_merge`

10 years agoAdd `git_merge_status` to provide info about an upcoming merge
Edward Thomson [Wed, 12 Mar 2014 00:19:35 +0000 (17:19 -0700)]
Add `git_merge_status` to provide info about an upcoming merge

10 years agoIntroduce git_merge_file for consumers
Edward Thomson [Tue, 11 Mar 2014 06:30:41 +0000 (22:30 -0800)]
Introduce git_merge_file for consumers

10 years agoMerge pull request #2193 from libgit2/cmn/reflog-HEAD
Vicent Marti [Wed, 19 Mar 2014 18:51:57 +0000 (19:51 +0100)]
Merge pull request #2193 from libgit2/cmn/reflog-HEAD

Reflog all the way

10 years agoreflog: handle symref chains
Carlos Martín Nieto [Wed, 19 Mar 2014 17:14:35 +0000 (18:14 +0100)]
reflog: handle symref chains

Given HEAD -> master -> foo, when updating foo's reflog we should also
update HEAD's, as it's considered the current branch.

10 years agoreflog: handle the birth of a branch
Carlos Martín Nieto [Wed, 19 Mar 2014 15:30:37 +0000 (16:30 +0100)]
reflog: handle the birth of a branch

The reflog append function was overzealous in its checking. When passed
an old and new ids, it should not do any checking, but just serialize
the data to a reflog entry.

10 years agoreflog: simplify the append logic
Carlos Martín Nieto [Wed, 19 Mar 2014 05:59:09 +0000 (06:59 +0100)]
reflog: simplify the append logic

Remove some duplicated logic.

10 years agorefdb: don't update when there's no need
Carlos Martín Nieto [Tue, 18 Mar 2014 21:16:58 +0000 (22:16 +0100)]
refdb: don't update when there's no need

If the caller wants to update a ref to point to the same target as it
currently has, we should return early and avoid writing to the reflog.

10 years agoreflog: more comprehensive HEAD tests
Carlos Martín Nieto [Tue, 18 Mar 2014 18:41:03 +0000 (19:41 +0100)]
reflog: more comprehensive HEAD tests

The existing ones lack checking zeroed ids when switching back from an
unborn branch as well as what happens when detaching.

The reflog appending function mistakenly wrote zeros when dealing with a
detached HEAD. This explicitly checks for those situations and fixes
them.

10 years agoMerge pull request #2189 from Aimeast/octopus
Vicent Marti [Tue, 18 Mar 2014 15:23:51 +0000 (16:23 +0100)]
Merge pull request #2189 from Aimeast/octopus

Implement git_merge_base_octopus

10 years agoImplement git_merge_base_octopus
Aimeast [Tue, 18 Mar 2014 14:31:14 +0000 (22:31 +0800)]
Implement git_merge_base_octopus

10 years agoMerge pull request #2192 from phkelley/development
Vicent Marti [Tue, 18 Mar 2014 14:25:43 +0000 (15:25 +0100)]
Merge pull request #2192 from phkelley/development

Seamless support for NTLM/Kerberos auth on Windows

10 years agoSeamless support for NTLM/Kerberos auth on Windows
Philip Kelley [Tue, 18 Mar 2014 13:04:33 +0000 (09:04 -0400)]
Seamless support for NTLM/Kerberos auth on Windows

10 years agoMerge pull request #2190 from libgit2/cmn/current-branch-reflog
Vicent Marti [Tue, 18 Mar 2014 13:46:42 +0000 (14:46 +0100)]
Merge pull request #2190 from libgit2/cmn/current-branch-reflog

refs: append to the HEAD reflog when updating the current branch

10 years agoMerge pull request #2191 from libgit2/cmn/projects
Russell Belfer [Mon, 17 Mar 2014 22:57:25 +0000 (15:57 -0700)]
Merge pull request #2191 from libgit2/cmn/projects

Add a few projects to the list

10 years agoAdd a few projects to the list
Carlos Martín Nieto [Mon, 17 Mar 2014 18:44:07 +0000 (19:44 +0100)]
Add a few projects to the list

10 years agorefs: append to the HEAD reflog when updating the current branch
Carlos Martín Nieto [Wed, 15 Jan 2014 12:19:48 +0000 (13:19 +0100)]
refs: append to the HEAD reflog when updating the current branch

When we update the current branch, we must also append to HEAD's reflog
to keep them in sync.

This is a bit of a hack, but as git.git says, it covers 100% of
default cases.

10 years agorepo: remove test which deletes HEAD
Carlos Martín Nieto [Mon, 17 Mar 2014 16:36:51 +0000 (17:36 +0100)]
repo: remove test which deletes HEAD

This is not something anybody would ever do; removing HEAD makes the
.git/ directory no longer be a repository, so we wouldn't be expected to
handle such a situation.

10 years agobranch: constness fixes
Carlos Martín Nieto [Mon, 17 Mar 2014 15:10:33 +0000 (16:10 +0100)]
branch: constness fixes

10 years agorefs: fix copy-paste doc error
Carlos Martín Nieto [Thu, 13 Mar 2014 14:54:53 +0000 (15:54 +0100)]
refs: fix copy-paste doc error

10 years agoMerge pull request #2184 from libgit2/rb/fix-revwalk-order-regression
Edward Thomson [Wed, 12 Mar 2014 19:05:35 +0000 (12:05 -0700)]
Merge pull request #2184 from libgit2/rb/fix-revwalk-order-regression

Fix pqueue sort boundary condition bug

10 years agoFix pqueue sort boundary condition bug
Russell Belfer [Wed, 12 Mar 2014 18:21:55 +0000 (11:21 -0700)]
Fix pqueue sort boundary condition bug

If the pqueue comparison fn returned just 0 or 1 (think "a<b")
then the sort order of returned items could be wrong because there
was a "< 0" that really needed to be "<= 0".  Yikes!!!

10 years agoMSVC is silly
Carlos Martín Nieto [Mon, 10 Mar 2014 17:20:47 +0000 (18:20 +0100)]
MSVC is silly

10 years agoMerge pull request #2175 from Yogu/submodule-resolve-url
Vicent Marti [Mon, 10 Mar 2014 17:16:56 +0000 (18:16 +0100)]
Merge pull request #2175 from Yogu/submodule-resolve-url

Add git_submodule_resolve_url()

10 years agoAdd git_submodule_resolve_url()
Jan Melcher [Mon, 10 Mar 2014 17:16:10 +0000 (18:16 +0100)]
Add git_submodule_resolve_url()

10 years agoMerge pull request #2177 from shiftkey/typo-fix
Paul Betts [Mon, 10 Mar 2014 04:07:18 +0000 (21:07 -0700)]
Merge pull request #2177 from shiftkey/typo-fix

corrected typo in error message

10 years agocorrected typo in error message
Brendan Forster [Mon, 10 Mar 2014 03:40:07 +0000 (14:40 +1100)]
corrected typo in error message

10 years agoMerge pull request #2170 from ethomson/clar
Vicent Marti [Fri, 7 Mar 2014 19:00:20 +0000 (20:00 +0100)]
Merge pull request #2170 from ethomson/clar

Update clar to e1990d6

10 years agoUpdate clar to e1990d6
Edward Thomson [Fri, 7 Mar 2014 18:53:00 +0000 (10:53 -0800)]
Update clar to e1990d6

10 years agoMerge pull request #2028 from libgit2/options-names
Vicent Marti [Fri, 7 Mar 2014 18:02:58 +0000 (19:02 +0100)]
Merge pull request #2028 from libgit2/options-names

Rename options structures

10 years agoMerge pull request #2153 from mekishizufu/tag_example
Russell Belfer [Fri, 7 Mar 2014 17:13:43 +0000 (09:13 -0800)]
Merge pull request #2153 from mekishizufu/tag_example

Add a tag example

10 years agoMerge pull request #2167 from mekishizufu/memory_access_fixes
Vicent Marti [Fri, 7 Mar 2014 15:26:58 +0000 (16:26 +0100)]
Merge pull request #2167 from mekishizufu/memory_access_fixes

Fun with memory access

10 years agoMerge pull request #2169 from libgit2/valgrind
Vicent Marti [Fri, 7 Mar 2014 15:26:51 +0000 (16:26 +0100)]
Merge pull request #2169 from libgit2/valgrind

Plug leaks

10 years agoPlug a few leaks in the tests
Carlos Martín Nieto [Wed, 5 Mar 2014 19:28:49 +0000 (20:28 +0100)]
Plug a few leaks in the tests

10 years agobranch: fix leak when checking against HEAD
Carlos Martín Nieto [Fri, 7 Mar 2014 14:40:53 +0000 (15:40 +0100)]
branch: fix leak when checking against HEAD

We look up a reference in order to figure out if it's the current
branch, which we need to free once we're done with the check.

As a bonus, only perform the check when we're passed the force flag, as
it's a useless check otherwise.

10 years agocommit: simplify and correct refcounting in nth_gen_ancestor
Carlos Martín Nieto [Fri, 7 Mar 2014 14:17:08 +0000 (15:17 +0100)]
commit: simplify and correct refcounting in nth_gen_ancestor

We can make use of git_object_dup to use refcounting instead of pointer
comparison to make sure we don't free the caller's object.

This also lets us simplify the case for '~0' which is now just an
assignment instead of looking up the object we have at hand.

10 years agolocal transport: catch double-opens
Carlos Martín Nieto [Fri, 7 Mar 2014 13:58:43 +0000 (14:58 +0100)]
local transport: catch double-opens

Combinations of connect + fetch can call local_open multiple
times. Detect this and skip the initialization stage.

10 years agoblame: Fix compare function's data types
Jiri Pospisil [Thu, 6 Mar 2014 21:23:57 +0000 (22:23 +0100)]
blame: Fix compare function's data types

Previously the hunk_byfinalline_search_cmp function was called with different
data types (size_t and uint32_t) for the key argument but expected only the
former resulting in an invalid memory access when passed the latter on a 64 bit
machine.

The following patch makes sure that the function is called and works with the
same type (size_t).

10 years agogit_oid_fromstrn: Simplify the implementation and fix memory access issues
Jiri Pospisil [Thu, 6 Mar 2014 21:10:17 +0000 (22:10 +0100)]
git_oid_fromstrn: Simplify the implementation and fix memory access issues

10 years agoMerge pull request #2168 from ethomson/clar
Vicent Marti [Fri, 7 Mar 2014 13:00:59 +0000 (14:00 +0100)]
Merge pull request #2168 from ethomson/clar

Update clar to a0b00f0

10 years agoUpdate clar to a0b00f0
Edward Thomson [Fri, 7 Mar 2014 08:28:18 +0000 (00:28 -0800)]
Update clar to a0b00f0

10 years agogit_revert_opts -> git_revert_options
Ben Straub [Sat, 4 Jan 2014 01:42:09 +0000 (17:42 -0800)]
git_revert_opts -> git_revert_options

10 years agogit_checkout_opts -> git_checkout_options
Ben Straub [Sat, 4 Jan 2014 01:38:34 +0000 (17:38 -0800)]
git_checkout_opts -> git_checkout_options

10 years agotests: MSVC compat
Carlos Martín Nieto [Thu, 6 Mar 2014 15:40:34 +0000 (16:40 +0100)]
tests: MSVC compat

MSVC doesn't like declaring variables in the middle of a block, so make
sure we only declare variables at the beginning of a block.

10 years agoMerge pull request #2165 from libgit2/revert-1997
Vicent Marti [Thu, 6 Mar 2014 15:08:36 +0000 (16:08 +0100)]
Merge pull request #2165 from libgit2/revert-1997

Revert pull request #1997

10 years agoRevert pull request #1997
Vicent Marti [Thu, 6 Mar 2014 15:08:17 +0000 (16:08 +0100)]
Revert pull request #1997

10 years agoMerge pull request #1997 from mgbowen/merge-options-init-fix
Vicent Marti [Thu, 6 Mar 2014 15:08:12 +0000 (16:08 +0100)]
Merge pull request #1997 from mgbowen/merge-options-init-fix

Fix GIT_MERGE_OPTS_INIT on MSVC.

10 years agoMerge pull request #2014 from mgbowen/cpp-options-init
Vicent Marti [Thu, 6 Mar 2014 12:14:15 +0000 (13:14 +0100)]
Merge pull request #2014 from mgbowen/cpp-options-init

Function-based options initializers

10 years agoMerge pull request #2162 from sunheehnus/dev
Ben Straub [Thu, 6 Mar 2014 03:50:23 +0000 (19:50 -0800)]
Merge pull request #2162 from sunheehnus/dev

examples/diff:Add the shortstat flag to examples/diff.c

10 years agoMerge completed: resolve the conflict with the upstream
Sun He [Thu, 6 Mar 2014 03:16:36 +0000 (11:16 +0800)]
Merge completed: resolve the conflict with the upstream

10 years agoAdded function-based initializers for every options struct.
Matthew Bowen [Thu, 6 Mar 2014 02:49:23 +0000 (21:49 -0500)]
Added function-based initializers for every options struct.

The basic structure of each function is courtesy of arrbee.