- 03 Jul, 2017 1 commit
-
-
Next to including several files, our "common.h" header also declares various macros which are then used throughout the project. As such, we have to make sure to always include this file first in all implementation files. Otherwise, we might encounter problems or even silent behavioural differences due to macros or defines not being defined as they should be. So in fact, our header and implementation files should make sure to always include "common.h" first. This commit does so by establishing a common include pattern. Header files inside of "src" will now always include "common.h" as its first other file, separated by a newline from all the other includes to make it stand out as special. There are two cases for the implementation files. If they do have a matching header file, they will always include this one first, leading to "common.h" being transitively included as first file. If they do not have a matching header file, they instead include "common.h" as first file themselves. This fixes the outlined problems and will become our standard practice for header and source files inside of the "src/" from now on.
Patrick Steinhardt committed
-
- 29 Dec, 2016 1 commit
-
-
Error messages should be sentence fragments, and therefore: 1. Should not begin with a capital letter, 2. Should not conclude with punctuation, and 3. Should not end a sentence and begin a new one
Edward Thomson committed
-
- 24 Apr, 2015 1 commit
-
-
Linquize committed
-
- 30 Sep, 2014 1 commit
-
-
Carlos Martín Nieto committed
-
- 14 Jan, 2014 1 commit
-
-
This changes git_signature_dup to actually honor oom conditions raised by the call to git__strdup. It also aligns it with the error code return pattern used everywhere else.
Arthur Schreiber committed
-
- 23 Nov, 2013 1 commit
-
-
This was a convenience method for the refs front-end to do the reflog writing. This is now done in the backend and it has no more reason for being.
Carlos Martín Nieto committed
-
- 02 Oct, 2013 3 commits
-
-
These functions act purely on the reflog data structure.
Carlos Martín Nieto committed -
Provide a function that reads a reflog, performs an append and writes back to the backend in one call.
Carlos Martín Nieto committed -
References and their logs are logically coupled, let's make it so in the code by moving the fs-based reflog implementation to live next to the fs-based refs one. As part of the change, make the function take names rather than references, as only the names are relevant when looking up and handling reflogs.
Carlos Martín Nieto committed
-
- 11 Sep, 2013 1 commit
-
-
nulltoken committed
-
- 01 May, 2013 1 commit
-
-
Russell Belfer committed
-
- 17 Mar, 2013 1 commit
-
-
Implicit type conversion argument of function to size_t type Suspicious sequence of types castings: size_t -> int -> size_t Consider reviewing the expression of the 'A = B == C' kind. The expression is calculated as following: 'A = (B == C)' Unsigned type is never < 0
Arkadiy Shapkin committed
-
- 08 Jan, 2013 1 commit
-
-
Edward Thomson committed
-
- 19 Dec, 2012 3 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
There may be some question about whether this is likely to be needed at all, but that's above my head at the moment.
Rick Bradley committed
-
- 18 Dec, 2012 1 commit
-
-
just sayin'.
Rick Bradley committed
-
- 03 Dec, 2012 1 commit
-
-
Ben Straub committed
-
- 01 Dec, 2012 2 commits
-
-
nulltoken committed
-
Ben Straub committed
-
- 30 Nov, 2012 1 commit
-
-
Ben Straub committed
-
- 27 Nov, 2012 2 commits
-
-
Russell Belfer committed
-
Ben Straub committed
-
- 18 Nov, 2012 1 commit
-
-
Passing 0 as the index now retrieves the most recent entry instead of the oldest one.
nulltoken committed
-
- 09 Nov, 2012 1 commit
-
-
* Rework GIT_DIRREMOVAL values to GIT_RMDIR flags, allowing combinations of flags * Add GIT_RMDIR_EMPTY_PARENTS flag to remove parent dirs that are left empty after removal * Add GIT_MKDIR_VERIFY_DIR to give an error if item is a file, not a dir (previously an EEXISTS error was ignored, even for files) and enable this flag for git_futils_mkpath2file call * Improve accuracy of error messages from git_futils_mkdir
Russell Belfer committed
-
- 26 Oct, 2012 4 commits
- 09 Oct, 2012 1 commit
-
-
This started as a complex new test for checkout going through the "typechanges" test repository, but that revealed numerous issues with checkout, including: * complete failure with submodules * failure to create blobs with exec bits * problems when replacing a tree with a blob because the tree "example/" sorts after the blob "example" so the delete was being processed after the single file blob was created This fixes most of those problems and includes a number of other minor changes that made it easier to do that, including improving the TYPECHANGE support in diff/status, etc.
Russell Belfer committed
-
- 28 Jul, 2012 1 commit
-
-
Michael Schubert committed
-
- 27 Jul, 2012 2 commits
-
-
Yes, we can get the repository from the owner of the object, but having it marked explicitly makes the API more consistent.
Vicent Marti committed -
Vicent Marti committed
-
- 25 Jul, 2012 7 commits