82 Commits (04aea8d4df199836da3802f08cb5738eae66fa6c)

Author SHA1 Message Date
brian m. carlson bc83266abe Convert lookup_commit* to struct object_id 8 years ago
brian m. carlson 8bc095f7d5 builtin/rev-parse: convert to struct object_id 8 years ago
Johannes Schindelin cb71f8bdb5 PRItime: introduce a new "printf format" for timestamps 8 years ago
brian m. carlson 1b7ba794d2 Convert sha1_array_for_each_unique and for_each_abbrev to object_id 8 years ago
Jeff King 5b1ef2cef4 replace unchecked snprintf calls with heap buffers 8 years ago
Jeff King e4da43b1f0 prefix_filename: return newly allocated string 8 years ago
Jeff King 116fb64e43 prefix_filename: drop length parameter 8 years ago
Jeff King ffddfc6328 rev-parse: simplify parsing of ref options 8 years ago
Jeff King 9d16ca65bb rev-parse: add helper for parsing "--foo/--foo=" 8 years ago
Jeff King ef87cc79df rev-parse: use skip_prefix when parsing options 8 years ago
Stefan Beller bf0231c661 rev-parse: add --show-superproject-working-tree 8 years ago
Johannes Schindelin 098aa86762 rev-parse: fix several options when running in a subdirectory 8 years ago
SZEDER Gábor a2f5a87626 rev-parse: add '--absolute-git-dir' option 8 years ago
Jeff King a2e7b04c44 rev-parse: fix parent shorthands with --symbolic 8 years ago
Junio C Hamano 7b5b7721af abbrev: prepare for new world order 8 years ago
Vegard Nossum 8779351dd7 revision: new rev^-n shorthand for rev^n..rev 8 years ago
René Scharfe 02962d3684 use strbuf_addstr() for adding constant strings to a strbuf 9 years ago
Jeff King fc7d47f0dd rev-parse: let some options run outside repository 9 years ago
Nguyễn Thái Ngọc Duy 17f1365dbc rev-parse: take prefix into account in --git-common-dir 9 years ago
Junio C Hamano 72e37b6ac8 rev-parse: read parseopt spec with strbuf_getline() 9 years ago
Junio C Hamano 8f309aeb82 strbuf: introduce strbuf_getline_{lf,nul}() 9 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 9 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 9 years ago
René Scharfe e510ab8988 use pop_commit() for consuming the first entry of a struct commit_list 9 years ago
Ilya Bobyr 2d893dff4c rev-parse --parseopt: allow [*=?!] in argument hints 10 years ago
Michael Haggerty e23b036863 builtin/rev-parse: rewrite to take an object_id argument 10 years ago
Michael Haggerty 2b2a5be394 each_ref_fn: change to take an object_id parameter 10 years ago
Alex Henrie 9c9b4f2f8b standardize usage info string format 10 years ago
Nguyễn Thái Ngọc Duy 31e26ebcb5 setup.c: support multi-checkout repo setup 10 years ago
Nguyễn Thái Ngọc Duy 557bd833bb git_path(): be aware of file relocation in $GIT_DIR 10 years ago
Junio C Hamano 2ce406ccb8 get_merge_bases(): always clean-up object flags 10 years ago
David Aguilar c41a87dd80 refs: make rev-parse --quiet actually quiet 11 years ago
René Scharfe 56b9f6e738 use xgetcwd() to get the current directory or die 11 years ago
Jeff King 28b3563241 free ref string returned by dwim_ref 11 years ago
Nguyễn Thái Ngọc Duy a76295da78 rev-parse: add --shared-index-path to get shared index path 11 years ago
Ilya Bobyr 9bab5b6061 rev-parse --parseopt: option argument name hints 11 years ago
David Sharp a43219f2aa rev-parse: check i before using argv[i] against argc 11 years ago
Jeff King 62f162f8e7 rev-parse: be more careful with munging arguments 11 years ago
Jeff King 1418567381 rev-parse: correctly diagnose revision errors before "--" 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Junio C Hamano 9dc01bf063 rev-parse: introduce --exclude=<glob> to tame wildcards 11 years ago
Nicolas Vigier f8c872127d rev-parse --parseopt: add the --stuck-long mode 11 years ago
Stefan Beller d5d09d4754 Replace deprecated OPT_BOOLEAN by OPT_BOOL 12 years ago
John Keeping 68889b416d rev-parse: remove restrictions on some options 12 years ago
John Keeping 12b9d32790 rev-parse: add --prefix option 12 years ago
Junio C Hamano 003c84f6d2 specifying ranges: we did not mean to make ".." an empty set 13 years ago
Nguyễn Thái Ngọc Duy 2c7c184c3b i18n: rev-parse: mark parseopt strings for translation 13 years ago
Junio C Hamano 957d74062c rev-parse --disambiguate=<prefix> 13 years ago
Junio C Hamano c036c4c5e4 rev-parse: A and B in "rev-parse A..B" refer to committish 13 years ago
Matthieu Moy 023e37c377 verify_filename(): ask the caller to chose the kind of diagnosis 13 years ago