summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | Cleanup portability/compatibility layerJacques Germishuys2014-08-057-90/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removes mingw-compat.h * Cleans up separation of compiler/platform idiosyncrasies * Unifies mingw/msvc stat structures and functions * (Tries to) hide more compiler specific implementation details (even in our internal API)
| | * | | | Define WINHTTP_IGNORE_REQUEST_TOTAL_LENGTH if not definedJacques Germishuys2014-08-051-0/+4
| | | | | |
| | * | | | Silence unused variables warningsJacques Germishuys2014-08-052-0/+4
| | | | | |
| | * | | | Only create openssl_locks if thread support is enabledJacques Germishuys2014-07-131-0/+2
| | | | | |
| | * | | | Fix unix/posix.h include guardJacques Germishuys2014-07-131-2/+2
| | | | | |
| * | | | | array: mark the array to grow as volatilecmn/revwalk-no-preallocCarlos Martín Nieto2014-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This works around strict aliasing rules letting some versions of GCC (particularly on RHEL 6) thinking that they can skip updating the size of the array when calculating the next element's offset.
| * | | | | revwalk: remove preallocation of the uninteresting commitsCarlos Martín Nieto2014-07-241-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Preallocating two commits doesn't make much sense as leaving allocation to the first array usage will allocate a sensible size with room for growth. This preallocation has also been hiding issues with strict aliasing in the tests, as we have fairly simple histories and never trigger the growth.
| * | | | | Merge pull request #2477 from ethomson/mergeVicent Marti2014-07-231-2/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Don't allow conflicts by default
| | * | | | | Don't allow conflicts by defaultEdward Thomson2014-07-171-2/+1
| | | |/ / / | | |/| | |
| * | | | | Merge pull request #2484 from libgit2/fix-git-status-list-new-unreadable-folderVicent Marti2014-07-237-12/+57
| |\ \ \ \ \ | | | | | | | | | | | | | | Fix git status list new unreadable folder
| | * | | | | undo indentation change in diff_print.cfix-git-status-list-new-unreadable-folderAlan Rogers2014-07-231-9/+9
| | | | | | |
| | * | | | | Merge remote-tracking branch 'origin/master' into ↵Alan Rogers2014-07-2239-379/+719
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | fix-git-status-list-new-unreadable-folder
| | * | | | | Remove debug printfs.Alan Rogers2014-07-221-2/+0
| | | | | | |
| | * | | | | Merge remote-tracking branch 'origin/development' into ↵Alan Rogers2014-07-1012-164/+276
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fix-git-status-list-new-unreadable-folder
| | * \ \ \ \ \ Merge remote-tracking branch 'origin/development' into ↵Alan Rogers2014-06-0455-605/+1413
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-git-status-list-new-unreadable-folder Conflicts: include/git2/diff.h
| | * | | | | | | Clear out the struct.Alan Rogers2014-06-041-0/+1
| | | | | | | | |
| | * | | | | | | Implement GIT_DIFF_INCLUDE_UNREADABLE_AS_UNTRACKEDAlan Rogers2014-06-041-1/+4
| | | | | | | | |
| | * | | | | | | GIT_DIFF_INCLUDE_UNREADABLE_AS_UNTRACKEDAlan Rogers2014-06-031-0/+2
| | | | | | | | |
| | * | | | | | | Add GIT_STATUS_OPT_INCLUDE_UNREADABLEAlan Rogers2014-05-301-0/+2
| | | | | | | | |
| | * | | | | | | Don't need to duplicate this code.Alan Rogers2014-05-231-5/+1
| | | | | | | | |
| | * | | | | | | Return GIT_DELTA_UNREADABLE for a file with a mode changeAlan Rogers2014-05-221-0/+5
| | | | | | | | |
| | * | | | | | | Remove errant whitespace.Alan Rogers2014-05-211-1/+1
| | | | | | | | |
| | * | | | | | | Return GIT_FILEMODE_UNREADABLE for files that fail to stat.Alan Rogers2014-05-212-18/+24
| | | | | | | | |
| | * | | | | | | Start adding GIT_DELTA_UNREADABLE and GIT_STATUS_WT_UNREADABLE.Alan Rogers2014-05-206-19/+47
| | | | | | | | |
| | * | | | | | | Skip unreadable files for now.Alan Rogers2014-05-202-5/+9
| | | | | | | | |
| | * | | | | | | Rename GIT_ENOACCESS -> GIT_EUNREADABLEAlan Rogers2014-05-201-7/+4
| | | | | | | | |
| | * | | | | | | Skip unreadable files for now.Alan Rogers2014-05-151-2/+1
| | | | | | | | |
| | * | | | | | | Return a specific error for EACCES.Alan Rogers2014-05-151-0/+4
| | | | | | | | |
| * | | | | | | | git_cherry_pick -> git_cherrypickEdward Thomson2014-07-223-41/+41
| | |_|_|/ / / / | |/| | | | | |
| * | | | | | | Merge pull request #2475 from libgit2/expose-buffer-binary-detectionVicent Marti2014-07-161-0/+11
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Export git_buf_text_is_binary and git_buf_text_contains_nul.
| | * | | | | | | Just put it all in buffer.joshaber2014-07-163-3/+29
| | | | | | | | |
| | * | | | | | | Export git_buf_text_is_binary and git_buf_text_contains_nul.expose-buffer-binary-detectionjoshaber2014-07-152-18/+3
| | | |_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | So that users don’t need to implement binary detection themselves.
| * | | | | | | Merge pull request #2476 from linquize/config-lf-eofVicent Marti2014-07-161-3/+3
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | When adding new config section, handle config file not ending with LF
| | * | | | | | | Make sure \n is at the end of config file before a new section is writtenLinquize2014-07-161-3/+3
| | |/ / / / / /
| * | | | | | | ssh: Fix unused warningVicent Marti2014-07-161-0/+1
| | | | | | | |
| * | | | | | | clone: should_clone? Of course we should clone. That's not the questionVicent Marti2014-07-161-4/+4
| | | | | | | |
| * | | | | | | Merge pull request #2467 from ethomson/win_local_cloneVicent Marti2014-07-163-47/+50
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | Handle local file:/// paths on Windows
| | * | | | | | Handle local file:/// paths on WindowsEdward Thomson2014-07-113-47/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows can't handle a path like `/c:/foo`; when turning file:/// URIs into local paths, we must strip the leading slash.
| * | | | | | | Merge pull request #2466 from jacquesg/win2003-platform-sdkVicent Marti2014-07-117-8/+23
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Windows compatibility fixes
| | * | | | | | | Define IO_REPARSE_TAG_SYMLINK if its not defined by WinNT.hJacques Germishuys2014-07-061-0/+4
| | | | | | | | |
| | * | | | | | | Secure CRT is only available from Visual Studio 2005+Jacques Germishuys2014-07-062-3/+3
| | | | | | | | |
| | * | | | | | | qsort_r is only available from Visual Studio 2005+Jacques Germishuys2014-07-061-1/+2
| | | | | | | | |
| | * | | | | | | Variadic macros is only available from Visual Studio 2005+Jacques Germishuys2014-07-062-2/+10
| | | | | | | | |
| | * | | | | | | _stat64 is a function, __stat64 is the structureJacques Germishuys2014-07-061-1/+1
| | | | | | | | |
| | * | | | | | | strnlen() is only available from Visual Studio 2005+Jacques Germishuys2014-07-061-1/+2
| | | | | | | | |
| | * | | | | | | in_addr is defined in <Winsock2.h>, include before <ws2tcpip.h>Jacques Germishuys2014-07-061-0/+1
| | | | | | | | |
| * | | | | | | | Merge pull request #2463 from libgit2/cmn/ssh-factory-for-pathsVicent Marti2014-07-111-2/+52
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | ssh: provide a factory function for setting ssh paths
| | * | | | | | | | ssh: provide a factory function for setting ssh pathscmn/ssh-factory-for-pathsCarlos Martín Nieto2014-07-071-2/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git allows you to set which paths to use for the git server programs when connecting over ssh; and we want to provide something similar. We do this by providing a factory function which can be set as the remote's transport callback which will set the given paths upon creation.
| * | | | | | | | | Merge pull request #2465 from libgit2/cmn/refspec-start-middleVicent Marti2014-07-111-18/+42
| |\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / | |/| | | | | | | | Support refspecs with the asterisk in the middle
| | * | | | | | | | refspec: support asterisks in the middle of a patternCarlos Martín Nieto2014-07-041-18/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to assume a refspec would only have an asterisk in the middle of their respective pattern. This has not been a valid assumption for some time now with git. Instead of assuming where the asterisk is going to be, change the logic to treat each pattern as having two halves with a replacement bit in the middle, where the asterisk is.