Skip to contentSkip to conversation

Cogito is deprecated, so don't point to it

PATCH In review Karl Hasselström 3 participants 7 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Cogito is deprecated, so don't point to it

---

Also available from

git://repo.or.cz/stgit/kha.git safe

 README |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
README +1 -3
index 0e648f5..4f20154 100644
@@ -6,9 +6,7 @@ other repositories using standard GIT functionality.
 
 Note that StGIT is not an SCM interface on top of GIT and it expects a
 previously initialised GIT repository (unless it is cloned using StGIT
-directly). For standard SCM operations, either use plain GIT commands
-or the Cogito tool but it is not recommended to mix them with the
-StGIT commands.
+directly). For standard SCM operations, use plain GIT commands.
 
 For the latest version see http://www.procode.org/stgit/
 For a tutorial see http://wiki.procode.org/cgi-bin/wiki.cgi/StGIT_Tutorial
#1 lore raw

README other repositories using standard GIT functionality. · line 9

Quoted 4 lines · Karl Hasselström
README +1 -3
-directly). For standard SCM operations, either use plain GIT commands
-or the Cogito tool but it is not recommended to mix them with the
-StGIT commands.
+directly). For standard SCM operations, use plain GIT commands.

Doesn't the "but it is not recommended to mix them with the StGIT commands." part still hold?

Signature · 1 line
Matthieu
#2 lore raw
Quoted 9 lines · Matthieu Moy

README other repositories using standard GIT functionality. · line 9

Quoted 4 lines · Karl Hasselström
README +1 -3
-directly). For standard SCM operations, either use plain GIT commands
-or the Cogito tool but it is not recommended to mix them with the
-StGIT commands.
+directly). For standard SCM operations, use plain GIT commands.

Doesn't the "but it is not recommended to mix them with the StGIT commands." part still hold?

I'm not sure it ever held. Except possibly during merge resolution, but that mismatch is going away with the patch series by David Kågedal that's sitting in kha/experimental (which changes StGit to use exactly the same conflict representation as git).

Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle
#3 lore raw
Quoted 9 lines · Karl Hasselström
Quoted 2 lines · Matthieu Moy

Doesn't the "but it is not recommended to mix them with the StGIT commands." part still hold?

I'm not sure it ever held. Except possibly during merge resolution, but that mismatch is going away with the patch series by David Kågedal that's sitting in kha/experimental (which changes StGit to use exactly the same conflict representation as git).

Mmm. Then there's of course the fact that if you use git commands to change the branch ref (e.g. committing, resetting, and so on) you need to run assimilate to deconfuse StGit. But it'll tell you so.

So I guess the (or at least my) conclusion is that we ought to have an StGit User Manual where the user can learn these things, preferably with examples and pretty DAG graphs. Half a sentence doesn't buy us that much.

Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle
#4 lore raw
In reply to Karl Hasselström
Quoted 12 lines · Karl Hasselström
Quoted 9 lines · Matthieu Moy

README other repositories using standard GIT functionality. · line 9

Quoted 4 lines · Karl Hasselström
README +1 -3
-directly). For standard SCM operations, either use plain GIT commands
-or the Cogito tool but it is not recommended to mix them with the
-StGIT commands.
+directly). For standard SCM operations, use plain GIT commands.

Doesn't the "but it is not recommended to mix them with the StGIT commands." part still hold?

Quoted 4 lines

I'm not sure it ever held. Except possibly during merge resolution, but that mismatch is going away with the patch series by David Kågedal that's sitting in kha/experimental (which changes StGit to use exactly the same conflict representation as git).

Don't forget your new assimilate implementation.

Signature · 1 line
David Kågedal
#5 lore raw
Quoted 1 line · David Kågedal

Don't forget your new assimilate implementation.

That's in Catalin's master branch already, so there can't possibly be a release that has this patch and not the assimilate improvements. But yes, that's what makes it possible to easily recover from just about anything the git commands can do.

Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle
#6 lore raw
In reply to Matthieu Moy
Quoted 9 lines · Matthieu Moy

README other repositories using standard GIT functionality. · line 9

Quoted 4 lines · Karl Hasselström
README +1 -3
-directly). For standard SCM operations, either use plain GIT commands
-or the Cogito tool but it is not recommended to mix them with the
-StGIT commands.
+directly). For standard SCM operations, use plain GIT commands.

Doesn't the "but it is not recommended to mix them with the StGIT commands." part still hold?

Karl has been working hard lately to make sure that stg doesn't get confused when you use git directly.

Signature · 1 line
David Kågedal