| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove extra semicolon outside of a function | Stefan Widgren | 2015-07-31 | 1 | -1/+1 |
| | | | | | | Without this change, compiling with gcc and pedantic generates warning: ISO C does not allow extra ‘;’ outside of a function. | ||||
| * | describe: only abort without tags if fallback is not allowed. | Patrick Steinhardt | 2015-04-07 | 1 | -1/+1 |
| | | | | | | | When no reference names could be found we did error out when trying to describe a commit. This is wrong, though, when the option to fall back to a commit's object ID is set. | ||||
| * | Reorder some khash declarations | Carlos Martín Nieto | 2015-03-11 | 1 | -0/+2 |
| | | | | | | | Keep the definitions in the headers, while putting the declarations in the C files. Putting the function definitions in headers causes them to be duplicated if you include two headers with them. | ||||
| * | Plug some leaks | Jacques Germishuys | 2014-12-29 | 1 | -2/+6 |
| | | |||||
| * | describe: check error codes | Edward Thomson | 2014-11-29 | 1 | -2/+2 |
| | | |||||
| * | Fixed potential crash with uninitialized variables | Pierre-Olivier Latour | 2014-10-27 | 1 | -1/+1 |
| | | |||||
| * | Removed some useless variable assignments | Pierre-Olivier Latour | 2014-10-27 | 1 | -2/+0 |
| | | |||||
| * | Clean up various compiler warnings | Edward Thomson | 2014-10-26 | 1 | -2/+3 |
| | | |||||
| * | Merge pull request #2609 from linquize/describe-opts | Edward Thomson | 2014-10-13 | 1 | -15/+31 |
| |\ | | | | | Handle describe options better | ||||
| | * | describe: Initialize options for git_describe_format() if null | Linquize | 2014-10-11 | 1 | -14/+30 |
| | | | |||||
| | * | describe: Do not crash if pass null option to git_describe_commit() | Linquize | 2014-10-11 | 1 | -1/+1 |
| | | | |||||
| * | | Don't use cl_git_pass for POSIX functionsrb/minor-cleanups | Russell Belfer | 2014-10-10 | 1 | -1/+1 |
| |/ | | | | | | | If there is a failure then cl_git_pass tries to get the libgit2 error, but p_... functions don't set that. Also - trailing whitespace cleanup. | ||||
| * | describe: make mingw happy | Carlos Martín Nieto | 2014-09-30 | 1 | -2/+2 |
| | | | | | The MinGW compiler does not like it when we declare a typedef twice. | ||||
| * | describe: rename git_describe_opts to git_describe_options | Carlos Martín Nieto | 2014-09-30 | 1 | -14/+24 |
| | | | | | And implement the option init functions for this and the format options. | ||||
| * | describe: implement abbreviated ids | Carlos Martín Nieto | 2014-09-30 | 1 | -6/+27 |
| | | |||||
| * | describe: implement describing the workdir | Carlos Martín Nieto | 2014-09-30 | 1 | -6/+49 |
| | | | | | | | When we describe the workdir, we perform a describe on HEAD and then check to see if the worktree is dirty. If it is and we have a suffix string, we append that to the buffer. | ||||
| * | describe: split into gather and format steps | Carlos Martín Nieto | 2014-09-30 | 1 | -66/+173 |
| | | | | | | | | | Instead of printing out to the buffer inside the information-gathering phase, write the data to a intermediate result structure. This allows us to split the options into gathering options and formatting options, simplifying the gathering code. | ||||
| * | describe: rename _object() to _commit() | Carlos Martín Nieto | 2014-09-30 | 1 | -1/+1 |
| | | | | | | We don't describe arbitrary object, so let's give it the name of the one object type we accept. | ||||
| * | object: introduce git_describe_object() | nulltoken | 2014-04-30 | 1 | -0/+690 |
