Forum > General

Support for Git?

<< < (2/4) > >>

TRon:
@Bogen85
I admit that there is probably more laziness involved then I want to admit as I do things from a terminal window now. Integration makes (or at least can make) things more efficient.

I am aware that not everyone enjoy such features in the IDE just as I have no use for some of those features that are currently present in Lazarus. But that is the beauty: if you don't like it then don't use/install/activate it.

Most of the (external) tools that are referred to are either overkill, not efficient/logical or not cross-platform. I always seem to return to manual commits using the terminal.

JuhaManninen:

--- Quote from: TRon on February 05, 2023, 04:05:00 am ---Most of the (external) tools that are referred to are either overkill, not efficient/logical or not cross-platform.

--- End quote ---
"gitk" and "git gui" are cross-platform, come with the Git distribution and have the essential features.
For example gitk shows commits and their diffs better than TortoiseGit does.
The graphically pleasing SmartGit Java app is also cross-platform but I don't personally see any real benefit over "gitk" and "git gui".
Maybe I just got used to them, don't know.

Martin_fr:
While I myself am very happy with a stand alone git solution, I can see good reasons for integration....

- For those who use a docked IDE, the stand alone git can't be docked...
- If you want to have info on a specific file (that is open in your IDE editor) like working tree diff or log... You have to navigate to that file (or enter its name). In the IDE it is already open.
- Diff integration directly in the source editor

But then, the curious thing is, this topic started of from a 10 your old thread. Wanting to know if 10 years later something had happen.

10 years... And in all that time no one has asked, if they could contribute it.

Given that:
- Everyone using the IDE would likely have some Pascal knowledge
- Those who are interested would know git (at least the basics, and that is all they need)
- There is "lazsvnpkg", which integrates svn. So there is an example that shows how to do it.


JuhaManninen:

--- Quote from: Martin_fr on February 05, 2023, 10:47:36 am ---- There is "lazsvnpkg", which integrates svn. So there is an example that shows how to do it.

--- End quote ---
That one sucks. I don't remember details but it was not very usable for real development.
Yes, some IDE integration techniques can be studied from it but studying Git integration in competing IDEs is needed, too.

I personally never felt need for such IDE integration but the cases you mention are good.
Lazarus IDE already has an integrated diff tool (Tools -> Compare files) but it is not very good either. Tools like Meld and Kompare etc. provide a nice display of diffs. We should have a similar one.

DomingoGP:

--- Quote ---Tools like Meld and Kompare etc. provide a nice display of diffs. We should have a similar one.
--- End quote ---

Well, we have a package for ide that although it's not like winmerge, meld, etc since it doesn't allow to merge changes, it improves the standard comparison of lazarus-Ide, it doesn't allow to compare with old GIT commits either. See attached image.  :) 

https://github.com/DomingoGP/lazIdeDiffCompareFiles

EDIT: wrong image attached sorry :-)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version