https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40261

David Flater <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #183610|0                           |1
        is obsolete|                            |

--- Comment #5 from David Flater <[email protected]> ---
Created attachment 183613
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183613&action=edit
Bug 40261: Teach tidy.pl how to handle build-git-snapshot

This patch makes the `tidy.pl` script handle the mentioned script as a Perl
script.

To test:
1. Run:
   $ ktd --shell
  k$ perl misc/devel/tidy.pl debian/build-git-snapshot
=> FAIL: You get:

```
Cannot guess filetype for debian/build-git-snapshot at misc/devel/tidy.pl line
234.
```

2. Apply this patch
3. Repeat 1
=> SUCCESS: It tidies the file!
4. Reset to the current head
  k$ git reset --hard HEAD
5. Apply the tidy patch
6. Repeat 1
7. Run:
  k$ git diff
=> SUCCESS: No diff, the file is tidy
8. Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to