Merge pull request #1349 from larshp/issue_1348

files match if they are identical #1348
This commit is contained in:
Lars Hvam 2018-05-07 16:51:10 +02:00 committed by GitHub
commit 26380bd44c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,11 @@ CLASS ZCL_ABAPGIT_FILE_STATUS IMPLEMENTATION.
rs_result-path = is_local-file-path.
rs_result-filename = is_local-file-filename.
IF is_local-file-sha1 = is_remote-sha1.
rs_result-match = abap_true.
RETURN.
ENDIF.
" Match against current state
READ TABLE it_state INTO ls_file_sig
WITH KEY path = is_local-file-path