- 14 Jun, 2011 12 commits
-
-
Scott Chacon committed
-
Scott Chacon committed
-
Scott Chacon committed
-
Vicent Marti committed
-
Scott Chacon committed
-
Port MSVC specific Waf compilation flags to CMake and remove dynamic dependence to msvcr100.dll on Windows The '/MT' and '/MTd' flags replace the dynamic link to 'msvcr100.dll' with a static link to 'libcmt.lib'. This has the nice effect to ease the deployment of libgit2 by removing the dependence on 'msvcr100.dll' which is not deployed by default on Windows.
Em committed -
Vicent Marti committed
-
Vicent Marti committed
-
Goodbye Waf. It's been a long ride.
Vicent Marti committed -
All the custom backend code will be moved to a separate project, together with the new MySQL backend.
Vicent Marti committed -
Remove uneeded arpa/inet.h include
Vicent Martí committed -
This header isn't needed at all and it shows a lot of warnings on OpenBSD. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed
-
- 12 Jun, 2011 1 commit
-
-
Brian Lopez committed
-
- 11 Jun, 2011 1 commit
-
-
Msvc10 fixes
Vicent Martí committed
-
- 10 Jun, 2011 5 commits
-
-
The better solution would probably be to turn the gitfo_lstat / gitfo_readlink macros into real functions that wrap either lstat or gitfo_lstat__w32 (and readlink or gitfo_readlink__w32). However, that would introduce an indirection unless inlined. For now, this is the less intrusive change.
Sebastian Schuberth committed -
MSVC supports "inline" only in C++ code, not in C code.
Sebastian Schuberth committed -
Sebastian Schuberth committed
-
Sebastian Schuberth committed
-
Sebastian Schuberth committed
-
- 08 Jun, 2011 5 commits
-
-
git_tag_create{,_o,_frombuffer} correction and improvement
Vicent Martí committed -
Commit short message should be the same as git's
Vicent Martí committed -
Handle Symlinks if they can be handled in Win32. This is not even compiled. Needs review. The lstat implementation is modified from core Git. The readlink implementation is modified from PHP.
Vicent Marti committed -
Keep the lockfile if we fail to lock it
Vicent Martí committed -
In git, the short message of a commit is the part of the commit message before 2 consecutive line breaks. In the short message, line breaks are replaced by space characters.
Marc Pegon committed
-
- 07 Jun, 2011 16 commits
-
-
Add a check for the file descriptor in git_filebuf_cleanup. Without it, an existing lockfile would be deleted if we tried to acquire it (but failed, as the lockfile already existed). Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Symlinks NEW
Vicent Martí committed -
rename-reference: use normalized path
Vicent Martí committed -
config: update the git_config_add_file documentation
Vicent Martí committed -
Fix compilation warnings in MSVC
Vicent Martí committed -
fileops.c: fix unused warning v2
Vicent Martí committed -
It's not clear how git_config and git_config_file relate to one another. Be more explicit about their relationship in the function documentation. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Signed-off-by: schu <schu-github@schulog.org>
schu committed -
Jakob Pfender committed
-
When calling gitfo_exists() on a symbolic link, sometimes we need to simply check whether the link exists and sometimes we need to check whether the file pointed to by the symlink exists. Introduce a new function gitfo_shallow_exists that only checks if the link exists and revert gitfo_exists to the original functionality of checking whether the file pointed to by the link exists.
Jakob Pfender committed -
This reverts commit df1c98ab6d6171ed63729195bd190b54b67fe530. As 8a27b6b reverts the exposition of struct stat to the external API, we do not need - indeed, do not want - struct stat to be in the outer include layer.
Jakob Pfender committed -
00582bc introduced a change that required the caller of git_blob_create_fromfile() to pass a struct stat with the stat information for the file. Several developers pointed out that this would make life hard for the bindings developers as struct stat isn't widely supported by other languages. Make git_blob_create_fromfile() stat the path itself, eliminating the need for the file to be stat'ed by the caller. This makes index_init_entry() more costly as the file will be stat'ed twice but makes life easier for everyone else.
Jakob Pfender committed -
00582bcb introduced a change to git_blob_create_fromfile() that required the caller to pass a stat struct. This means that we need to include stat.h higher in the hierarchy of includes.
Jakob Pfender committed -
The entry mode flags for an entry created from a path name were not correctly written if the entry was a symlink. The st_mode of a statted symlink is 0120777, however git requires the mode to read 0120000, because it does not care about permissions of symlinks. Introduce index_create_mode() that correctly writes the mode flags in the form expected by git.
Jakob Pfender committed
-