summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* remote: Introduce git_remote_is_valid_name()nulltoken2013-02-112-19/+26
| | | | Fix libgit2/libgit2sharp#318
* refs: No component of a refname can end with '.lock'nulltoken2013-02-111-4/+6
|
* Merge pull request #1190 from nulltoken/topic/reset-pathsRussell Belfer2013-02-116-6/+80
|\ | | | | reset: Allow the selective reset of pathspecs
| * Fix MSVC compilation warningsnulltoken2013-02-054-5/+5
| | | | | | | | Fix #1308
| * reset: Introduce git_reset_default()nulltoken2013-02-051-0/+74
| |
| * index: Fix indentationsnulltoken2013-02-051-1/+1
| |
* | Merge pull request #1323 from jamill/resolve_remotePhilip Kelley2013-02-112-6/+105
|\ \ | | | | | | Resolve a remote branch's remote
| * | Teach refspec to transform destination reference to source referenceJameson Miller2013-02-111-7/+17
| | |
| * | Teach remote branch to return its remoteJameson Miller2013-02-112-0/+89
| | |
* | | Fix some incorrect MSVC #ifdef's. Fixes #1305Philip Kelley2013-02-111-1/+1
| | |
* | | Fix a bug introduced in df93a681 'Merge the push...'Philip Kelley2013-02-101-1/+3
| | |
* | | Fix -Wmaybe-uninitialized warningMichael Schubert2013-02-101-1/+1
| | |
* | | Merge the push report into the refs to avoid a 3rd network callPhilip Kelley2013-02-084-20/+130
|/ /
* | Fix Windows symlinksJameson Miller2013-02-081-1/+1
| |
* | Merge pull request #1249 from yorah/topic/diff-notify-unmatched-pathspecsRussell Belfer2013-02-085-19/+65
|\ \ | | | | | | diff: Add a callback to notify of diffed files
| * | diff: add a notify callback to `git_diff__from_iterators`yorah2013-02-071-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | The callback will be called for each file, just before the `git_delta_t` gets inserted into the diff list. When the callback: - returns < 0, the diff process will be aborted - returns > 0, the delta will not be inserted into the diff list, but the diff process continues - returns 0, the delta is inserted into the diff list, and the diff process continues
| * | Return the matched pathspec pattern in `git_pathspec_match_path`yorah2013-02-075-9/+31
| | | | | | | | | | | | | | | | | | | | | Instead of returning directly the pattern as the return value, I used an out parameter, because the function also tests if the passed pathspecs vector is empty. If yes, it considers that the path "matches", but in that case there is no matched pattern per se.
* | | Merge pull request #1325 from SHyx0rmZ/fix-windows-symlinksVicent Martí2013-02-081-3/+18
|\ \ \ | |/ / |/| | Fix Windows symlinks
| * | Moved braces to conform to code stylePatrick Pokatilo2013-02-081-2/+1
| | |
| * | Replace LoadLibrary with GetModuleHandle, since kernel32 is loaded by defaultPatrick Pokatilo2013-02-081-3/+3
| | | | | | | | | | | | As requested
| * | Replace call to strnlen with call to strlenPatrick Pokatilo2013-02-081-6/+5
| | |
| * | Include <string.h>Patrick Pokatilo2013-02-081-0/+1
| | |
| * | Fix call to readlinkPatrick Pokatilo2013-02-081-1/+4
| | |
| * | Call p_readlink to determine symlink sizePatrick Pokatilo2013-02-071-0/+13
| |/
* | Clone: fetch all tagsBen Straub2013-02-061-0/+1
|/
* Merge pull request #1298 from ben/user-atRussell Belfer2013-02-047-21/+140
|\ | | | | Handle "user@" prefix for credentials partially included in URLs
| * Address feedbackBen Straub2013-02-042-8/+12
| |
| * Use malloc rather than callocBen Straub2013-02-011-1/+2
| |
| * Introduce git__substrdupBen Straub2013-02-012-10/+14
| |
| * Remove double-free segfaultsBen Straub2013-01-311-6/+6
| |
| * WinHttp: use cred in url if providedBen Straub2013-01-311-3/+16
| |
| * HTTP: use creds in url if availableBen Straub2013-01-312-0/+19
| |
| * Enhance url parsing to include passwordsBen Straub2013-01-315-18/+66
| |
| * Add user-from-url param to auth callbackBen Straub2013-01-312-2/+20
| |
| * Stash username from url (but don't use it yet)Ben Straub2013-01-305-9/+17
| |
| * Skip "user@" when finding hostname in urlBen Straub2013-01-301-2/+6
| |
* | revparse: Lookup sha before branchnulltoken2013-02-031-6/+29
| |
* | revparse: Lookup branch before described tagnulltoken2013-02-031-7/+7
| | | | | | | | Fix #1306
* | Merge pull request #1303 from csware/win32_consistent_error_encodingVicent Martí2013-02-015-21/+68
|\ \ | | | | | | Win32: Make sure error messages are consistently UTF-8 encoded
| * | Deduplicate FormatMessage UTF-16 to UTF-8 conversion codeSven Strickroth2013-02-025-47/+66
| | | | | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
| * | Improved error handlingSven Strickroth2013-02-022-4/+19
| | | | | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
| * | Get utf8_size from WideCharToMultiByte instead of guessing itSven Strickroth2013-02-012-6/+6
| | | | | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
| * | Win32: Make sure error messages are consistently UTF-8 encodedSven Strickroth2013-02-012-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | W/o this a libgit2 error message could have a mixed encoding: e.g. a filename in UTF-8 combined with a native Windows error message encoded with the local code page. Signed-off-by: Sven Strickroth <email@cs-ware.de>
* | | Merge pull request #1299 from csware/support_local_msysgit_installVicent Martí2013-02-012-22/+30
|\ \ \ | | | | | | | | Support local msysgit installations
| * | | Stick to coding style: Move up bracesSven Strickroth2013-02-011-6/+3
| | | | | | | | | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
| * | | Detect msysgit installation of users without admin rightsSven Strickroth2013-01-311-4/+7
| | | | | | | | | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
| * | | Refactored: Move msysgit registry detection to it's own functionSven Strickroth2013-01-312-17/+25
| |/ / | | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* | | Try harder to find global config fileJameson Miller2013-02-011-6/+0
| | |
* | | Merge pull request #1286 from lznuaa/masterBen Straub2013-02-011-2/+4
|\ \ \ | | | | | | | | Fix clone fail if repo head detached
| * | | Fix fail clone local repo which head detatchedFrank Li2013-01-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Set head detach if can't found branch after download Signed-off-by: Frank Li <lznuaa@gmail.com>