We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b81bc commit 8bd22f7Copy full SHA for 8bd22f7
src/fpm/git.f90
@@ -151,11 +151,11 @@ logical function git_is_same(this,that)
151
type is (git_target_t)
152
if (.not.(this%descriptor==other%descriptor)) return
153
if (allocated(this%url) .neqv. allocated(other%url)) return
154
- if (allocated(this%url) .and. allocated(other%url)) then
+ if (allocated(this%url)) then
155
if (.not.(this%url==other%url)) return
156
end if
157
if (allocated(this%object) .neqv. allocated(other%object)) return
158
- if (allocated(this%object) .and. allocated(other%object)) then
+ if (allocated(this%object)) then
159
if (.not.(this%object==other%object)) return
160
161
class default
0 commit comments