Git client for ABAP
Go to file
Marc Bernard 97821c8428
Add user exit for adjusting display of filenames (#5185)
The filenames can become very long, for example, usage of many sub-packages, namespaces, objects like function groups, or BSP/Fiori apps with many sub-objects, or a long paths as starting folder. This can make the repository view very busy or render the output as a very wide table (see #5169, #5178).

This exit allows to adjust the filename according to your own rules. 

Here's an example for shortening the display of files for sub-objects:

```abap
  METHOD zif_abapgit_exit~adjust_display_filename.

    DATA:
      lv_path TYPE string,
      lv_name TYPE string,
      lv_ext1 TYPE string,
      lv_ext2 TYPE string.

    SPLIT iv_filename AT '.' INTO lv_path lv_name lv_ext1 lv_ext2.

    IF lv_ext2 IS INITIAL.
      " Main object
      rv_filename = iv_filename.
    ELSE.
      " Sub object
      rv_filename = |…{ lv_ext1 }.{ lv_ext2 }|.
    ENDIF.

  ENDMETHOD.
```
2021-12-08 08:07:45 +01:00
.github Avoid double action runs - Revert (#5151) 2021-11-19 13:25:19 -05:00
.vscode Enable unit test debugging in vscode (#4891) 2021-08-11 11:34:54 +02:00
ci Naming of class constants - Part 3 (#4984) 2021-10-01 08:20:15 +02:00
deps 5 additional unit tests running (#4935) 2021-09-10 07:46:05 +02:00
docs Commit page: option to hide author fields (#5171) 2021-12-01 09:27:30 -05:00
src Add user exit for adjusting display of filenames (#5185) 2021-12-08 08:07:45 +01:00
test Diff: Add options to ignore indent, comments, case (#5146) 2021-11-25 07:33:48 +01:00
.abapgit.xml Codespaces setup (#3666) 2020-07-28 09:20:02 +02:00
.devcontainer.json Codespaces setup (#3666) 2020-07-28 09:20:02 +02:00
.editorconfig Update .editorconfig (#4918) 2021-08-28 11:48:23 -04:00
.eslintrc.yaml Eslint (#2240) 2018-12-30 08:05:17 +01:00
.gitattributes .gitattributes (#5081) 2021-11-02 06:08:13 +01:00
.gitignore more unit test and coverage (#5051) 2021-10-29 07:46:32 +02:00
.npmrc update to node16 + ignore scripts (#5117) 2021-11-09 16:28:56 +01:00
abaplint.json no chained assignment (#5140) 2021-11-19 16:19:27 +01:00
changelog.txt 1.113.0 (#5166) 2021-11-26 08:21:42 +01:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2017-10-16 17:31:46 -02:00
CONTRIBUTING.md default branch updates (#4572) 2021-02-28 18:07:37 +01:00
LICENSE LICENSE: Lars Hvam Petersen -> abapGit Contributors (#4916) 2021-08-31 07:33:10 +02:00
package.json Update @abaplint/cli requirement from ^2.82.1 to ^2.82.10 (#5173) 2021-12-01 09:11:13 +01:00
README.md Naming of class constants - Part 3 (#4984) 2021-10-01 08:20:15 +02:00

CI Slack abap package version

abapGit logo

Git client for ABAP

Works with: GitHub, GitLab, Assembla, Bitbucket, abapGitServer, AWS, TFS, Azure DevOps and more.

ABAP Version: 702 or higher

Latest build: zabapgit.abap

Notes: Some people reported that browsers have issues displaying the file with more than 100k lines. The easiest solution is to "Save as" the link above and then open it with any editor/viewer (notepad included) and copy from there. If your SAP GUI editor freezes when pasting the code, use Utilities > More Utilities > Upload/Download > Upload in the editor instead.

It is recommened to use SAP GUI for Windows, since there are known issues related to running abapGit and SAP GUI for Java. The focus of abapGit is on supporting ADT instead of supporting SAP GUI for Java.

Design Goals

  • Easy installation
  • Easy upgrade
  • Small system footprint
  • Code readable in git repository

Documentation/Guides

https://docs.abapgit.org

Contributing

You can find the contribution guidelines here.

Projects using abapGit

See dotabap.org or this page.

FAQ

For questions/comments/bugs/feature requests/wishes please create an issue.

abapgit

Credits and references

Icons used in abapGit are created from Font Awesome free icon set (CC BY 4.0 License).