Amend does not clear the existing submission template even after say YES

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.2.1
    • Affects Version/s: 2.2
    • Component/s: None
    • Environment:

      OS X 10.11

      Setup a submission template:
      > echo "--SUBMISSION--" > ~/.commit_template.txt

      add it to .gitconfig:
      [commit]
      template = ~/.commit_template.txt

      ------
      0) Commit
      1) Default Commit template present in the text area
      2) Choose "Amend Last Commit"
      3) Dialog ask if previous commit text should be used. (Answer YES)
      4) Previous commit text is not replacing the exiting text already present in the text area

      NOTE:
      1) If there is no text in the text area, this works as expected.
      2) This is not in any previous version before the UI change.

            Assignee:
            Unassigned
            Reporter:
            Jason Ke
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: