Skip to content

Patch copy/paste #1548

@abeham

Description

@abeham

When I make patches, I have to save a patch file to a repository, then go to git commandline and apply the patch. I am not aware of being able to apply a patch in SourceGit. Since SourceGit is so good that I am hardly doing anything on the commandline anymore, I wonder if it was possible to integrate this. Especially, without having to work with patch files.

In my opinion the best integration would be:

  • Select the changes in the unstaged or staged tree/listview, then in the context menu click a new command: "Copy as Patch"
  • Then the patch text is copied to the clipboard
  • Then in another unstaged/staged tree/listview I would right-click and "Apply Patch from Clipboard" or just ctrl+v it to the staged/unstaged area if this is possible.

Metadata

Metadata

Assignees

Labels

already-doneThis feature already exists

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions