aboutsummaryrefslogtreecommitdiff
path: root/git-checkout-script
Commit message (Collapse)AuthorAge
* git-checkout-script: use "--verify --revs-only" to parse revsLinus Torvalds2005-06-27
| | | | | | Sven Verdoolaege points out that I added the --verify option to git-rev-parse exactly for things like this, but didn't update the users.
* Fix typo in git-checkout-script.Linus Torvalds2005-06-21
| | | | | The confusion between "revs" vs "refs" caused us to not find the branch name, which in turn meant that we never switched the HEAD over to it.
* Remove MERGE_HEAD in "git checkout/reset"Linus Torvalds2005-06-21
| | | | | Both of these scripts will end up resetting the index to some specific head, and any unresolved merge will be forgotten.
* git checkout: fix default head caseLinus Torvalds2005-06-21
| | | | | The "${new=$old}" syntax only works for an undefined 'new', not for an empty one. I knew that. Really. I'm not stupid.
* Make "git checkout" know about different branchesLinus Torvalds2005-06-21
| | | | | Now "git checkout xyzzy" will check out branch "xyzzy" and switch the HEAD to it.
* "git checkout": add "-u" flag to update HEAD conditionallyLinus Torvalds2005-06-21
| | | | And fix braino on testing "-f".
* Add "git checkout" that does what the name suggestsLinus Torvalds2005-06-21
It is careful by default and refuses to overwrite old info, but if you want to force everything to be re-read, use the "-f" flag. Some day I'll make it take individual filenames too. Right now it's all-or-nothing.