106 Commits (e5f591720caea0c6645fa9852903a1c43d7c3672)

Author SHA1 Message Date
René Scharfe f7aec129fa UI consistency: allow --force for where -f means force 16 years ago
Jeff King cc580af885 checkout: do not imply "-f" on unborn branches 16 years ago
Thomas Rast 4f353658b9 Implement 'git checkout --patch' 16 years ago
Stephen Boyd 3778292017 parse-opts: prepare for OPT_FILENAME 16 years ago
Daniel Cordero 77ebd56dc3 builtin-checkout: Don't tell user that HEAD has moved before it has 16 years ago
Junio C Hamano 49d833dc07 Revert "checkout branch: prime cache-tree fully" 16 years ago
Linus Torvalds 53996fe539 Teach 'git checkout' to preload the index contents 16 years ago
Mike Ralphson 3ea3c215c0 Fix typos / spelling in comments 16 years ago
Junio C Hamano 83ae209bf9 checkout branch: prime cache-tree fully 16 years ago
Junio C Hamano b9d37a5420 Move prime_cache_tree() to cache-tree.c 16 years ago
Jari Aalto 714fddf2fc Change double quotes to single quotes in message 16 years ago
Johannes Schindelin bef3894847 Fix 'git checkout <submodule>' to update the index 16 years ago
Miklos Vajna f198e21849 builtin-checkout: use warning() instead of fprintf(stderr, "warning: ") 16 years ago
Junio C Hamano a2fab531bb strbuf_check_branch_ref(): a helper to check a refname for a branch 16 years ago
Junio C Hamano a552de75eb strbuf_branchname(): a wrapper for branch name shorthands 16 years ago
Junio C Hamano 431b1969fc Rename interpret/substitute nth_last_branch functions 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