81 Commits (b74d7efb108c9d3fd2d057b0c452583552a0577a)

Author SHA1 Message Date
Miklos Vajna f198e21849 builtin-checkout: use warning() instead of fprintf(stderr, "warning: ") 16 years ago
Keith Cascio e752f4bba2 Fix neglect of diff_setup()/diff_setup_done() symmetry. 16 years ago
Johannes Schindelin 7c4c97c0ac Turn the flags in struct dir_struct into a single variable 16 years ago
Thomas Rast 696acf45f9 checkout: implement "-" abbreviation, add docs and tests 16 years ago
Thomas Rast a884d0cb71 sha1_name: tweak @{-N} lookup 16 years ago
Junio C Hamano ae5a6c3684 checkout: implement "@{-N}" shortcut name for N-th last branch 16 years ago
Stephan Beyer ae98a0089f Move run_hook() from builtin-commit.c into run-command.c (libgit) 16 years ago
Stephan Beyer 2292ce4785 checkout: don't crash on file checkout before running post-checkout hook 16 years ago
Clemens Buchacher 0b50922abf remove pathspec_match, use match_pathspec instead 16 years ago
Junio C Hamano 3442ea4a75 git checkout: do not allow switching to a tree-ish that is not a commit 16 years ago
Junio C Hamano b96524f83a builtin-checkout.c: check error return from read_cache() 16 years ago
Matt McCutchen 1510dbe380 git checkout: don't warn about unborn branch if -f is already passed 16 years ago
Junio C Hamano fa7b3c2f75 checkout: Fix "initial checkout" detection 16 years ago
Alexandre Julliard 323e00fd46 checkout: Don't crash when switching away from an invalid branch. 16 years ago
Junio C Hamano 828e32b82e Fix mismerge at cdb22c4 in builtin-checkout.c 16 years ago
Brandon Casey f285a2d7ed Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializer 16 years ago
Dmitry Potapov 048f276200 do not segfault if make_cache_entry failed 16 years ago
Jonas Fonseca 7fe4a728a1 checkout: Do not show local changes when in quiet mode 16 years ago
Daniel Barkalow 352eadc400 Check early that a new branch is new and valid 17 years ago
Junio C Hamano 5521883490 checkout: do not lose staged removal 17 years ago
Jeff King bea005e21b checkout: fix message when leaving detached HEAD 17 years ago
Junio C Hamano eac5a40151 checkout --conflict=<style>: recreate merge in a non-default style 17 years ago
Miklos Vajna 8a2fce1895 merge-recursive: introduce merge_options 17 years ago
Junio C Hamano 0cf8581e33 checkout -m: recreate merge when checking out of unmerged index 17 years ago
Junio C Hamano 38901a4837 checkout --ours/--theirs: allow checking out one side of a conflicting merge 17 years ago
Junio C Hamano db9410990e checkout -f: allow ignoring unmerged paths when checking out of the index 17 years ago
Junio C Hamano 8fdcf31254 checkout: do not check out unmerged higher stages randomly 17 years ago
Alex Riesen 9188ed8962 Extend "checkout --track" DWIM to support more cases 17 years ago
Johannes Schindelin bb0ceb6264 checkout --track: make up a sensible branch name if '-b' was omitted 17 years ago
Pierre Habouzit 859fdabaed git-checkout: improve error messages, detect ambiguities. 17 years ago
Pierre Habouzit f5242ebf0d git-checkout: fix command line parsing. 17 years ago
René Scharfe 671f070721 add context pointer to read_tree_recursive() 17 years ago
Junio C Hamano 6d21bf96b5 Refactor "tracking statistics" code used by "git checkout" 17 years ago
Junio C Hamano 291d823e36 checkout: "best effort" checkout 17 years ago
Junio C Hamano 6286a08db3 checkout: consolidate reset_{to_new,clean_to_new}() 17 years ago
Junio C Hamano 84a5750bc5 checkout: make reset_clean_to_new() not die by itself 17 years ago
Junio C Hamano d2b3691b61 "git checkout -- paths..." should error out when paths cannot be written 17 years ago
Junio C Hamano 38ed1d89f7 "git-add -n -u" should not add but just report 17 years ago
Junio C Hamano 8ccba008ee unpack-trees: allow Porcelain to give different error messages 17 years ago
Johannes Schindelin ef90d6d420 Provide git_config with a callback-data parameter 17 years ago
Alex Riesen 7ae02a30e8 Extend interface of add_files_to_cache to allow ignore indexing errors 17 years ago
Jeff King 278863180a checkout: don't rfc2047-encode oneline on detached HEAD 17 years ago
Miklos Vajna 498a6e7eaa git checkout: add -t alias for --track 17 years ago
Linus Torvalds 34110cd4e3 Make 'unpack_trees()' have a separate source and destination index 17 years ago
Linus Torvalds bc052d7f43 Make 'unpack_trees()' take the index to work on as an argument 17 years ago
Denis Cheng a3647bee1a cleanup: remove unused git_checkout_config 17 years ago
Alex Riesen 301e42edc3 Fix builtin checkout crashing when given an invalid path 17 years ago
Daniel Barkalow 75336878c7 Write index file on any checkout of files 17 years ago
Junio C Hamano 04c9e11f2c checkout: error out when index is unmerged even with -m 17 years ago
Junio C Hamano 52229a29c7 checkout: show progress when checkout takes long time while switching branches 17 years ago