Dear Maintainer,
the helper tool
add-apt-repository
modifies all existing source files
sources.list
sources.list.d/*
reformatting the comments unnecessarily.
Example of the change:
-#deb [arch=amd64,i386] http://ftp.de.debian.org/debian/ unstable main contrib non-free
+# deb [arch=amd64,i386] http://ftp.de.debian.org/debian/ unstable main contrib non-free
I do expect a "Debian" tool to perform the requested task minimally, and not
to unexpectedly touch all available files in a folder.
The repository i requested to add was actually added at the very end of
sources.list.
The tool should either add a new file in sources.list.d, or add a line in
sources.list, even better ask/prompt the user.
Thanks!