author | Linus Torvalds <torvalds@g5.osdl.org> | |
Tue, 12 Jul 2005 01:32:30 +0000 (18:32 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Tue, 12 Jul 2005 01:32:30 +0000 (18:32 -0700) | ||
commit | 714fff2aa8979c5dd169481909a364a860481f0e | |
tree | dc793fc1dda0243de0db0c63217cea57117d8e3d | tree | snapshot |
parent | 79162bb8ad43aefb23172b9f164ea13ac2b60744 | commit | diff |
Make "git checkout" verify that the argument refers to a commit
We still need to create a new branch if it didn't refer to an existing
branch, otherwise our HEAD will continue to point to something totally
different than what we just checked out.
I'll need to think about it. Maybe only do it with "-f" and force it to
the "master" branch?
We still need to create a new branch if it didn't refer to an existing
branch, otherwise our HEAD will continue to point to something totally
different than what we just checked out.
I'll need to think about it. Maybe only do it with "-f" and force it to
the "master" branch?
git-checkout-script | diff | blob | history |