Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-13633

Make SourceTree reference the in-repo "icon.png" in a way that allows deleting the file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 3.4.2, 3.4.4, 3.4.5
    • General
    • None
    • Severity 3 - Minor

      SourceTree has a feature that will search the repository root for a file named "icon.png" and if it exist it will use it as an icon in SourceTree UI.

      This is a great feature that we enjoy and use, however the SourceTree for Windows app keeps a hard reference to that "icon.png" file that prevents the user or git to delete it.

       

      This becomes a problem if the user want's to checkout another branch in which the "icon.png" doesn't exist, because the file will still be there as a pending change that the user won't be able to remove unless closing SourceTree first (not very intuitive).
      Trying to discard the change (of the added "icon.png") from SourceTree will just fail and not remove it.
      Windows File Explorer will alert the user that the file cannot be removed if SourceTree is running.

       

      Maybe SourceTree could make a copy of the repo's "icon.png" so the reference is to the copy and it doesn't block the original image, or any other strategy to allow image removal.

              Unassigned Unassigned
              55a972f1726a Lazaro-onmobile
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: