# Support dst-prefix and src-prefix in the .gitconfig file

1 messages from 2024-03-08 to 2024-03-08. Participants: David Heidelberg.
Thread: https://gitlist.dev/t/61074

## David Heidelberg, 2024-03-08 09:59

Subject: Support dst-prefix and src-prefix in the .gitconfig file
Message-ID: <f80aaf4a-ffea-48e6-b279-c3b7a6a53996@ixit.cz>
URL: https://gitlist.dev/e/f80aaf4a-ffea-48e6-b279-c3b7a6a53996%40ixit.cz

```
Hello,

Recently Peter brought the `src-prefix = ./` and `dst-prefix = ./` as a 
possible solution to easy copy-paste of file location without needing to 
remove the prefix "[ab]/".
The problem lies in not being able to define these options in .gitconfig

I would love to have the option to do

ˋˋˋ
[diff]
   src-prefix = ./
   dst-prefix = ./
ˋˋˋ

It seems to be a much better solution than using the available `noprefix 
= true` which breaks multiple workflows.

David

-- 
David Heidelberg


```
