129 Commits (675a0fe297e88e0fab2ee9b311d4ebb3c3bfef28)

Author SHA1 Message Date
Jeff King afa8c07a26 checkout: print a message when switching unborn branches 12 years ago
Nguyễn Thái Ngọc Duy b6312c27a0 checkout: reorder option handling 12 years ago
Nguyễn Thái Ngọc Duy e51e30577a checkout: move more parameters to struct checkout_opts 12 years ago
Nguyễn Thái Ngọc Duy a2b4994c82 checkout: pass "struct checkout_opts *" as const pointer 12 years ago
Nguyễn Thái Ngọc Duy e05a10937c i18n: checkout: mark parseopt strings for translation 12 years ago
Thomas Rast 28452655af diff_setup_done(): return void 12 years ago
Jeff King add416a6c0 checkout: don't confuse ref and object flags 12 years ago
Thomas Gummerer b60e188c51 Strip namelen out of ce_flags into a ce_namelen field 12 years ago
Chris Webb 8ced1aa08f git-checkout: disallow --detach on unborn branch 13 years ago
Avery Pennarun e9fc64c60a checkout: no progress messages if !isatty(2). 13 years ago
Erik Faye-Lund 8338f771fe checkout: do not corrupt HEAD on empty repo 13 years ago
Johannes Sixt 5d8863954f checkout (detached): truncate list of orphaned commits at the new HEAD 13 years ago
Jeff King f9a482e62b checkout: suppress tracking message with "-q" 13 years ago
Junio C Hamano abe199808c git checkout -b: allow switching out of an unborn branch 13 years ago
Nguyễn Thái Ngọc Duy 2857093ba1 clone: print advice on checking out detached HEAD 13 years ago
Junio C Hamano 335c6e403d checkout_merged(): squelch false warning from some gcc 13 years ago
Nguyễn Thái Ngọc Duy 96ec7b1e70 Convert resolve_ref+xstrdup to new resolve_refdup function 13 years ago
Junio C Hamano fbbccd0a10 checkout -m: no need to insist on having all 3 stages 13 years ago
Nguyễn Thái Ngọc Duy d5a35c114a Copy resolve_ref() return value for longer use 13 years ago
Jonathan Nieder 39bd6f7261 Allow checkout -B <current-branch> to update the current branch 13 years ago
Nguyễn Thái Ngọc Duy c1d7036b6b checkout,merge: disallow overwriting ignored files with --no-overwrite-ignore 13 years ago
Nguyễn Thái Ngọc Duy fc001b526c checkout,merge: loosen overwriting untracked file check based on info/exclude 13 years ago
Nguyễn Thái Ngọc Duy c689332391 Convert many resolve_ref() calls to read_ref*() and ref_exists() 13 years ago
Michael Haggerty 8d9c50105f Change check_ref_format() to take a flags argument 13 years ago
René Scharfe 86a0a408b9 commit: factor out clear_commit_marks_for_object_array 13 years ago
René Scharfe 1062141928 checkout: use leak_pending flag 13 years ago
René Scharfe 468224e580 checkout: use add_pending_{object,sha1} in orphan check 13 years ago
Junio C Hamano 0a1283bc39 checkout $tree $path: do not clobber local changes in $path not in $tree 13 years ago
Junio C Hamano fa79937675 branch --set-upstream: regression fix 13 years ago
Jeff King 7bf0b01750 checkout: use argv_array API 13 years ago
Conrad Irwin 55c4a67307 Prevent force-updating of the current branch 13 years ago
Clemens Buchacher 0f64bfa956 ls-files: fix pathspec display on error 13 years ago
Junio C Hamano c17b229454 checkout -b <name>: correctly detect existing branch 14 years ago
Jeff King 8b8a53744f pretty: add pp_commit_easy function for simple callers 14 years ago
Junio C Hamano f807b3dcab checkout: make advice when reattaching the HEAD less loud 14 years ago
Ævar Arnfjörð Bjarmason f06f08b78c i18n: mark checkout plural warning for translation 14 years ago
Ævar Arnfjörð Bjarmason 20fc73e3b0 i18n: mark checkout --detach messages for translation 14 years ago
Nguyễn Thái Ngọc Duy f0096c06bc Convert read_tree{,_recursive} to support struct pathspec 14 years ago
Jeff King 0be240cc65 checkout: tweak detached-orphan warning format 14 years ago
Jeff King 5c08dc48a8 checkout: clear commit marks after detached-orphan check 14 years ago
Ævar Arnfjörð Bjarmason 08eaa4be03 i18n: git-checkout "Switched to a .. branch" message 14 years ago
Ævar Arnfjörð Bjarmason 9398cc4bd4 i18n: git-checkout "HEAD is now at" message 14 years ago
Ævar Arnfjörð Bjarmason 983ca75ecb i18n: git-checkout describe_detached_head messages 14 years ago
Ævar Arnfjörð Bjarmason 9f97ab08c2 i18n: git-checkout: our/their version message 14 years ago
Ævar Arnfjörð Bjarmason e8a8a4d76b i18n: git-checkout basic messages 14 years ago
Junio C Hamano 8e2dc6ac06 commit: give final warning when reattaching HEAD to leave commits behind 14 years ago
Jonathan Nieder b3c0494aa9 checkout: add missing const to describe_detached_head 14 years ago
Jonathan Nieder dab0d4108d correct type of EMPTY_TREE_SHA1_BIN 14 years ago
Jonathan Nieder f8bd36a433 checkout: rearrange update_refs_for_switch for clarity 14 years ago
Junio C Hamano 32669671c7 checkout: introduce --detach synonym for "git checkout foo^{commit}" 14 years ago