Skip to contentSkip to conversation

Add note about needing to do 'git checkout -f master'.

PATCH Junio C Hamano 2 participants 2 messages Jun 15, 2016 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi,

Quoted 25 lines · Richard W.M. Jones

From: Richard Jones <[email protected]>

---
 Documentation/git-cvsimport.txt |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Documentation/git-cvsimport.txt +6 -0
index f5450de..7b43ed4 100644
@@ -138,6 +138,12 @@ If '-v' is specified, the script reports what it is doing.
 Otherwise, success is indicated the Unix way, i.e. by simply exiting with
 a zero exit status.
 
+NOTES
+-----
+If importing for the first time into a directory (-C option),
+after the import do 'git checkout -f master' in the new
+directory.
+
 
 Author
 ------
Signature · 1 line
1.4.4.2

AFAICT this is no longer necessary in 1.5.0.

Ciao,
Dscho

#2 lore raw
Quoted 25 lines · Johannes Schindelin

Hi,

Quoted 21 lines · Richard W.M. Jones

From: Richard Jones <[email protected]>

---
 Documentation/git-cvsimport.txt |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Documentation/git-cvsimport.txt +6 -0
index f5450de..7b43ed4 100644
@@ -138,6 +138,12 @@ If '-v' is specified, the script reports what it is doing.
 Otherwise, success is indicated the Unix way, i.e. by simply exiting with
 a zero exit status.
 
+NOTES
+-----
+If importing for the first time into a directory (-C option),
+after the import do 'git checkout -f master' in the new
+directory.
+
 
Quoted 6 lines
Quoted 4 lines
Documentation/git-cvsimport.txt +0 -0
 Author
 ------
Signature · 1 line
1.4.4.2

AFAICT this is no longer necessary in 1.5.0.

I think you are right. I always run cvsimport with -i so I was confused ;-).